Author: tkreuzer
Date: Sat Dec 4 12:48:02 2010
New Revision: 49946
URL:
http://svn.reactos.org/svn/reactos?rev=49946&view=rev
Log:
[CMAKE]
- Fix configuration with cmake-gui (BOOL variables are TRUE/FALSE not 0/1)
- Remove unused DBG_OR_KDBG
Modified:
branches/cmake-bringup/CMakeLists.txt
Modified: branches/cmake-bringup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?re…
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Sat Dec 4 12:48:02 2010
@@ -84,15 +84,18 @@
# Activate language support for resource files
enable_language(RC)
-add_definitions(-DDBG=${DBG} -DKDBG=${KDBG})
if(DBG)
-add_definitions(-D_SEH_ENABLE_TRACE)
+add_definitions(-DDBG=1 -D_SEH_ENABLE_TRACE)
+else()
+add_definitions(-DDBG=0)
endif(DBG)
-if(DBG OR KDBG)
-set(DBG_OR_KDBG true)
-endif(DBG OR KDBG)
+if(KDBG)
+add_definitions(-DKDBG=1)
+else()
+add_definitions(-DKDBG=0)
+endif(KDBG)
# Version Options
add_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502
-D_WIN32_WINDOWS=0x502 -D_SETUPAPI_VER=0x502)