[Cmake] Debug and release flags

Jorg CMake jorg_cmake at xs4all.nl
Tue Jul 20 15:11:38 EDT 2004


Hi list,

I am trying to use wxWidgets with CMAKE. What I would like to do, is add
WXDEBUG=1 to the debug build and not use that flag in release mode. How
do I go about this making sure the debug flags are there in the debug
solution only?

I am using MSVC which is the only IDE that kind of needs this solution
because wxWidgets uses 'wx-config --cxx-flags' on the command line under
linux.

Thanks in advance,
- Jorgen




More information about the Cmake mailing list