[Cmake] Debug and release flags

Jan Woetzel jw at mip.informatik.uni-kiel.de
Wed Jul 21 04:58:43 EDT 2004


Jorg CMake wrote:

> ...wxWidgets ... add  WXDEBUG=1 to the debug build and not use that 
> flag in release mode.


Hi Jorgen,
you can add build specific flags to variable CMAKE_CXX_FLAGS_DEBUG.

But I think you need to recompile wxWindows library itself with the 
WXDEBUG flag, first.

Jan.

-- 
Email jw at mip.informatik.uni-kiel.de




More information about the Cmake mailing list