3 ms·
Is there a sane way of using ccache in Xcode projects generated from CMake nowadays? For other generator targets, adding ccache was a single line in the CMake
by w-m 4y ago
Is there a sane way of using ccache in Xcode projects generated from CMake nowadays?
For other generator targets, adding ccache was a single line in the CMake configuration, but for Xcode you had to bend over backwards. This was maybe 4 years ago.
- hoten 4y agoYup: https://crascit.com/2016/04/09/using-ccache-with-cmake/ https://crascit.com/2016/04/09/using-ccache-with-cmake/
- w-m 4y agoIt's a nice tutorial on how to set this up, thanks. But you still have to create two launcher script files, and then set some undocumented internal Xcode variables. So to me this is more a of "no" to my question: `set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")` still doesn't work for Xcode, you have to do some weird things.