[CMake] CMAKE_C_FLAGS and CMAKE_CXX_FLAGS
Eric Noulard
eric.noulard at gmail.com
Mon Nov 12 01:53:42 EST 2012
2012/11/11 Brad Bell <bradbell at seanet.com>:
> Would someone please point me to the specifications for CMAKE_C_FLAGS and
> CMAKE_CXX_FLAGS in
> http://www.cmake.org/cmake/help/cmake2.6docs.html
Unless you have good reason to stick with 2.6.x series you should
definitely switch
to more recent 2.8.x version of CMake:
http://www.cmake.org/cmake/help/documentation.html
> (or perhaps for CMAKE_C_FLAGS_<rel> and CMAKE_CXX_FLAG_<rel> where <rel> is
> DEBUG or RELEASE).
cmake --help-variable "CMAKE_<LANG>_FLAGS_DEBUG"
cmake --help-variable "CMAKE_<LANG>_FLAGS_RELEASE"
> These flags are used by the Modules distributed with CMAKE, but I cannot
> find their documentation.
But the documentation is very simple it contains the compile FLAGS of
the langage <LANG> for <BUILD_TYPE>.
CMake set those up for you but you can change them if you want.
--
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
More information about the CMake
mailing list