Author: tkreuzer Date: Sat Mar 16 23:28:27 2013 New Revision: 58530
URL: http://svn.reactos.org/svn/reactos?rev=58530&view=rev Log: [CMAKE] Do not compile KDBG by default when building release 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=5853... ============================================================================== --- trunk/reactos/cmake/config.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/config.cmake [iso-8859-1] Sat Mar 16 23:28:27 2013 @@ -46,10 +46,12 @@ endif()
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.") + if(CMAKE_BUILD_TYPE STREQUAL "Release") + set(KDBG FALSE CACHE BOOL "Whether to compile in the integrated kernel debugger.") + else() + set(KDBG TRUE CACHE BOOL "Whether to compile in the integrated kernel debugger.") + endif() + set(_WINKD_ FALSE CACHE BOOL "Whether to compile with the KD protocol.") endif()
set(_ELF_ FALSE CACHE BOOL