<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 24, 2017 at 5:20 AM, Jom O'Fisher <span dir="ltr"><<a href="mailto:jomofisher@gmail.com" target="_blank">jomofisher@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>We'll definitely be discussing this use case at our next C++ meeting and I'll also be checking for myself whether ccache will work in this CMake scenario. If ccache does work it seems like the natural level at which to fold identical builds.<br></div></div></blockquote></div><div class="gmail_extra"><br></div>In case it's helpful, the following article discusses how to set up a project for ccache without having to assume ccache has been installed with symlinks, etc. to replace the default compiler:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://crascit.com/2016/04/09/using-ccache-with-cmake/">https://crascit.com/2016/04/09/using-ccache-with-cmake/</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">This approach has saved us a huge amount of time in our builds, including some fairly complex hierarchical projects.<br><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Craig Scott<br><div>Melbourne, Australia</div><div><a href="https://crascit.com" target="_blank">https://crascit.com</a><br></div></div></div></div></div></div></div>
</div></div>