Author: tkreuzer
Date: Tue Dec 28 17:08:11 2010
New Revision: 50194
URL:
http://svn.reactos.org/svn/reactos?rev=50194&view=rev
Log:
[CMAKE]
- Add _WINKD_ definition
- fix DBG and KDBG
Modified:
branches/cmake-bringup/CMakeLists.txt
Modified: branches/cmake-bringup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?re…
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Tue Dec 28 17:08:11 2010
@@ -98,14 +98,14 @@
if(DBG)
add_definitions(-DDBG=1 -D_SEH_ENABLE_TRACE)
- else()
- add_definitions(-DDBG=0)
endif()
if(KDBG)
add_definitions(-DKDBG=1)
- else()
- add_definitions(-DKDBG=0)
+ endif()
+
+ if(_WINKD_)
+ add_definitions(-D_WINKD_=1)
endif()
# Version Options
@@ -167,7 +167,7 @@
# nci generated intermediate files
- list(APPEND nci_output
+ list(APPEND nci_output
${REACTOS_BINARY_DIR}/ntoskrnl/include/internal/napi.h
${REACTOS_BINARY_DIR}/subsystems/win32/win32k/include/napi.h
${REACTOS_BINARY_DIR}/lib/ntdllsys/ntdll.S
@@ -218,7 +218,7 @@
add_custom_command(
OUTPUT ${OUTPUT_FILES}
COMMAND native-gendib ${REACTOS_BINARY_DIR}/subsystems/win32/win32k/dib
- DEPENDS native-gendib)
+ DEPENDS native-gendib)
add_custom_target(gendib_generated ALL DEPENDS ${OUTPUT_FILES})