[CMake] setting configuration specific options in visual studio
Jesse Corrington
jesse.corrington at gmail.com
Mon Nov 19 18:38:22 EST 2007
I searched the archives and couldn't find any good information about this
task, which I would assume is important to many people. I need to set
options in visual studio that are different in debug and release modes. For
example I need to set preprocessor defines, change compiler flags, link with
different libraries, and other settings.
Is there anyway to do something like this.
IF ( RELEASE )
ADD_DEFINITIONS( -DREL1 )
ELSEIF ( DEBUG )
ADD_DEFINITIONS( -DDEB1 )
ENDIF ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071119/df8c28e2/attachment.htm
More information about the CMake
mailing list