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