mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
[CMAKE]
* Disable kdbg and enable _WINKD_ by default for msvc builds. svn path=/trunk/; revision=52445
This commit is contained in:
parent
3412182c8e
commit
39b4073643
1 changed files with 13 additions and 7 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue