From 57a2791bc89b8e5305e73e40b94d0f17c726aba8 Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Tue, 11 Dec 2007 21:40:10 +0000 Subject: [PATCH] removed __WXDEBUG__ for debug compiles. Instead, edit the CMakeCache.txt file and append --debug to the wx-config command line --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cfa7941e6d..3501f593aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")