mirror of https://github.com/reactos/reactos.git
[CMAKE] Set KDBG define only where required (fastfat, win32k, ntoskrnl)
This commit is contained in:
parent
9e19352492
commit
b6d7571ebb
|
@ -217,10 +217,6 @@ Enable this if the module uses typeid or dynamic_cast. You will probably need to
|
|||
add_definitions(-DDBG=0)
|
||||
endif()
|
||||
|
||||
if(KDBG)
|
||||
add_definitions(-DKDBG)
|
||||
endif()
|
||||
|
||||
if(ENABLE_CCACHE)
|
||||
message(WARNING "-- Disabling precompiled headers support (ccache).")
|
||||
option(PCH "Whether to use precompiled headers" OFF)
|
||||
|
|
|
@ -24,6 +24,9 @@ list(APPEND SOURCE
|
|||
volume.c
|
||||
vfat.h)
|
||||
|
||||
if(KDBG)
|
||||
add_definitions(-DKDBG)
|
||||
endif()
|
||||
add_library(fastfat MODULE ${SOURCE} vfatfs.rc)
|
||||
set_module_type(fastfat kernelmodedriver)
|
||||
target_link_libraries(fastfat ${PSEH_LIB})
|
||||
|
|
|
@ -378,6 +378,10 @@ elseif(ARCH STREQUAL "arm")
|
|||
endif()
|
||||
|
||||
if(NOT _WINKD_)
|
||||
if(KDBG)
|
||||
add_definitions(-DKDBG)
|
||||
endif()
|
||||
|
||||
if(ARCH STREQUAL "i386")
|
||||
list(APPEND SOURCE
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/kd/i386/kdbg.c)
|
||||
|
|
|
@ -226,6 +226,7 @@ list(APPEND SOURCE
|
|||
endif()
|
||||
|
||||
if(KDBG)
|
||||
add_definitions(-DKDBG)
|
||||
list(APPEND SOURCE gdi/ntgdi/gdikdbgext.c)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue