[CMake] Change variable default
Ilja Golshtein
ilejncs at narod.ru
Thu Apr 28 09:03:43 EDT 2011
Hello!
There are some CMAKE variables with default values. For example CMAKE_CXX_FLAGS_DEBUG default value is '-g'.
How is it possible to make it '-g -Wall'?
What I don't want to have: User choice overwritten.
What I want to have: Modified a variable cmake-time default. It must be possible to change the variable via cmake -D or ccmake GUI.
Thanks.
--
Best regards,
Ilja Golshtein.
More information about the CMake
mailing list