[CMake] build type specific compiler flags

Jesper Eskilson jesper at eskilson.se
Tue Apr 3 10:33:58 EDT 2007


Hi!

I would like to be able to specify compiler flags (or -D options,
specifically) bound to a specific build type, i.e. Debug, Release,
etc. How can I do this? There is a target property
LINK_FLAGS_<CONFIG>, but there is no COMPILE_FLAGS_<CONFIG>.

-- 
/Jesper


More information about the CMake mailing list