Author: akhaldi Date: Fri Jun 24 21:28:43 2011 New Revision: 52445
URL: http://svn.reactos.org/svn/reactos?rev=52445&view=rev Log: [CMAKE] * Disable kdbg and enable _WINKD_ by default for msvc builds.
Modified: trunk/reactos/cmake/config.cmake
Modified: trunk/reactos/cmake/config.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/config.cmake?rev=5244... ============================================================================== --- trunk/reactos/cmake/config.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/config.cmake [iso-8859-1] Fri Jun 24 21:28:43 2011 @@ -21,18 +21,24 @@ 4 = -O2 5 = -O3")
-set(DBG TRUE CACHE BOOL -"Whether to compile for debugging.") - -set(KDBG TRUE CACHE BOOL -"Whether to compile in the integrated kernel debugger.") - set(GDB FALSE CACHE BOOL "Whether to compile for debugging with GDB. If you don't use GDB, don't enable this.")
-set(_WINKD_ FALSE CACHE BOOL +set(DBG TRUE CACHE BOOL +"Whether to compile for debugging.") + +if(MSVC) + set(KDBG FALSE CACHE BOOL +"Whether to compile in the integrated kernel debugger.") + set(_WINKD_ TRUE CACHE BOOL "Whether to compile with the KD protocol.") +else() + set(KDBG TRUE CACHE BOOL +"Whether to compile in the integrated kernel debugger.") + set(_WINKD_ FALSE CACHE BOOL +"Whether to compile with the KD protocol.") +endif()
set(_ELF_ FALSE CACHE BOOL "Whether to compile support for ELF files.