[CMake] compile options
Ingrid Kemgoum
ingrid.kemgoum at gmail.com
Wed Jun 18 05:51:08 EDT 2008
yes i do have read that.
it's why i've tried CMAKE_CXX_FLAGS_<config>. (<config> for DEBUG and
RELEASE).
but that have no effect on MSVC flags.
(on Unix after fixing the build type first, the CMAKE_CXX_FLAGS_<config>
works but not on windows!)
Ingrid
2008/6/18 Eric Noulard <eric.noulard at gmail.com>:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080618/6f2fd647/attachment-0001.htm>
More information about the CMake
mailing list