set(TUNE "i686" CACHE STRING
"Which CPU ReactOS should be optimized for.")
-set(OPTIMIZE "1" CACHE STRING
+set(OPTIMIZE "4" CACHE STRING
"What level of optimization to use.
0 = off
1 = Default option, optimize for size (-Os) with some additional options
set(GDB FALSE CACHE BOOL
"Whether to compile for debugging with GDB.
-If you don't use GDB, don't enable this.")
+If you don't use GDB, don't enable this.")
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(DBG FALSE CACHE BOOL
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
"Whether to create a graphml dependency of dlls.")
if(MSVC)
-
set(_PREFAST_ FALSE CACHE BOOL
"Whether to enable PREFAST while compiling.")
set(_VS_ANALYZE_ FALSE CACHE BOOL
"Whether to enable static analysis while compiling.")
-
-else()
-
-set(USE_PSEH3 FALSE CACHE BOOL
-"Whether to use the new PSEH3 library (requires GCC 4.5 and newer).")
-
endif()