[CMake] A way to set default compiler, etc.?
Dave Abrahams
dave at boostpro.com
Thu Sep 20 09:10:23 EDT 2012
When I invoke cmake for the first time in a project, I normally use
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
I'm tired of typing that every time I blow away my CMakeCache.txt. Is
there a place I can register these preferences so I don't have to?
Thanks,
--
Dave Abrahams
BoostPro Computing Software Development Training
http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost
More information about the CMake
mailing list