arximboldi / immer

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

cmake: Only use ccache for C++ #276

Closed patstew closed 10 months ago

patstew commented 10 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 10 months ago

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