<div dir="ltr">After a bit of experimenting, it seems that getting ccache working with the Xcode generator isn't so straightforward. For Ninja and Unix Makefiles, the RULE_LAUNCH_COMPILE global property nicely gives us the behaviour we want, but this doesn't work for Xcode. Under the constraint that we can't modify the build machines (meaning we can't assume ccache symlinks have been set up for the clang compiler set), is there a way to coax CMake to use ccache with Xcode? I know I could write a wrapper script to explicitly invoke ccache, but this seems like something CMake should be able to do without having to resort to that. Any suggestions?<div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Craig Scott<br>Melbourne, Australia</div><div><a href="http://crascit.com" target="_blank">http://crascit.com</a></div></div></div>
</div></div>