arximboldi / immer

Postmodern immutable and persistent data structures for C++ — value semantics at scale
https://sinusoid.es/immer
Boost Software License 1.0
2.48k stars 177 forks source link

cmake: Only use ccache for C++ #276

Closed patstew closed 7 months ago

patstew commented 7 months ago

Setting RULELAUNCH* breaks the build of anything other than C/C++ that ccache doesn't support, e.g. rc.exe on windows. The global property leaks out and breaks any consuming project.

arximboldi commented 7 months ago

Make sense. I didn't know this feature of CMake, thank you!