[CMake] compile options

Eric Noulard eric.noulard at gmail.com
Wed Jun 18 05:31:16 EDT 2008


2008/6/18 Ingrid Kemgoum <ingrid.kemgoum at gmail.com>:
> hi,
> i'm using cmake 2.6 for MSVC2005 and Linux.
> As there is LINK_FLAGS_<config>, is there a way to have different compile
> flags for debug and release?
> i've tried CMAKE_CXX_FLAGS_<config>, COMPILE_FLAGS_<config>,... this to say
> any combinaison but none works.

Did you read this?:

http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools
-- 
Erk


More information about the CMake mailing list