[CMake] Debug flags are showing up in release
Jorgen Bodde
solidstl at xs4all.nl
Mon May 2 16:11:58 EDT 2005
Hi All,
I have a CMake script (I am rewriting FindwxWidgets.cmake), and I would
likt to add some flags to the debug only. This piece of CMAKE seems to
add them to both, while one is clearly set as debig flag only;
##
## Set wxWidgets specific flags
##
ADD_DEFINITIONS(debug -D__WXDEBUG__)
ADD_DEFINITIONS(-D__WXMSW__ -DWINVER=0x0400 -DwxUSE_BASE=1 )
Am I doing something wrong ?
Thanks in advance,
- Jorgen
More information about the CMake
mailing list