when change cmake_c_compiler
/ cmake_cxx_compiler
.
cmake detects , re-generates cache, loosing manually defined options.
i can see why cmake project chose behavior, in cases makes sense,
however it's not useful when...
- using wrapper (typically shell script calls compiler).
- using prefix command such
distcc
orccache
.
for example. don't need distcc
enabled time, , able enable it, when i'm bisecting.
is possible change compiler command in cmake without re-generating cache?
Comments
Post a Comment