mirror of
https://github.com/reactos/reactos.git
synced 2024-06-15 17:11:52 +00:00
[CMAKE] Set _WINKD_ define only where required (kernel and setuplib)
This commit is contained in:
parent
0676247932
commit
9e19352492
|
@ -221,10 +221,6 @@ Enable this if the module uses typeid or dynamic_cast. You will probably need to
|
||||||
add_definitions(-DKDBG)
|
add_definitions(-DKDBG)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(_WINKD_)
|
|
||||||
add_definitions(-D_WINKD_)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(ENABLE_CCACHE)
|
if(ENABLE_CCACHE)
|
||||||
message(WARNING "-- Disabling precompiled headers support (ccache).")
|
message(WARNING "-- Disabling precompiled headers support (ccache).")
|
||||||
option(PCH "Whether to use precompiled headers" OFF)
|
option(PCH "Whether to use precompiled headers" OFF)
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
|
||||||
add_definitions(${I18N_DEFS})
|
add_definitions(${I18N_DEFS})
|
||||||
|
if(_WINKD_)
|
||||||
|
add_definitions(-D_WINKD_)
|
||||||
|
endif()
|
||||||
|
|
||||||
include_directories(spapisup utils)
|
include_directories(spapisup utils)
|
||||||
|
|
||||||
|
|
|
@ -411,4 +411,6 @@ if(NOT _WINKD_)
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdio.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdio.c
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdmain.c)
|
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/kdmain.c)
|
||||||
|
|
||||||
|
else()
|
||||||
|
add_definitions(-D_WINKD_)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue