* Disable kdbg and enable _WINKD_ by default for msvc builds.

svn path=/trunk/; revision=52445
This commit is contained in:
Amine Khaldi 2011-06-24 21:28:43 +00:00
parent 3412182c8e
commit 39b4073643

View file

@ -21,18 +21,24 @@ set(OPTIMIZE "1" CACHE STRING
4 = -O2 4 = -O2
5 = -O3") 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 set(GDB FALSE CACHE BOOL
"Whether to compile for debugging with GDB. "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.")
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 set(_WINKD_ FALSE CACHE BOOL
"Whether to compile with the KD protocol.") "Whether to compile with the KD protocol.")
endif()
set(_ELF_ FALSE CACHE BOOL set(_ELF_ FALSE CACHE BOOL
"Whether to compile support for ELF files. "Whether to compile support for ELF files.