Commit 57a2791b authored by dickelbeck's avatar dickelbeck

removed __WXDEBUG__ for debug compiles. Instead, edit the CMakeCache.txt file...

removed __WXDEBUG__ for debug compiles.  Instead, edit the CMakeCache.txt file and append --debug to the wx-config command line
parent 63b2a1fe
......@@ -8,8 +8,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
#SET(CMAKE_VERBOSE_MAKEFILE ON)
# Set default flags for Debug build
SET(CMAKE_C_FLAGS_DEBUG "-Wall -g3 -ggdb3 -DDEBUG -D__WXDEBUG__")
SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -g3 -ggdb3 -DDEBUG -D__WXDEBUG__")
SET(CMAKE_C_FLAGS_DEBUG "-Wall -g3 -ggdb3 -DDEBUG")
SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -g3 -ggdb3 -DDEBUG")
# Set default flags for Release build
SET(CMAKE_C_FLAGS_RELEASE "-Wall -O2 -DNDEBUG")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment