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?
-- Craig Scott Melbourne, Australia http://crascit.com
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
