Author: akhaldi
Date: Wed Feb 12 10:36:53 2014
New Revision: 62126
URL:
http://svn.reactos.org/svn/reactos?rev=62126&view=rev
Log:
[NTDLL]
* Prepare the CMake script for PCH.
CORE-7716
Modified:
trunk/reactos/dll/ntdll/CMakeLists.txt
Modified: trunk/reactos/dll/ntdll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/CMakeLists.txt?r…
==============================================================================
--- trunk/reactos/dll/ntdll/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/CMakeLists.txt [iso-8859-1] Wed Feb 12 10:36:53 2014
@@ -22,8 +22,7 @@
ldr/ldrutils.c
rtl/libsupp.c
rtl/version.c
- def/ntdll.rc
- ${CMAKE_CURRENT_BINARY_DIR}/ntdll.def)
+ include/ntdll.h)
if(ARCH STREQUAL "i386")
list(APPEND ASM_SOURCE dispatch/i386/dispatch.S)
@@ -36,7 +35,12 @@
endif()
add_asm_files(ntdll_asm ${ASM_SOURCE})
-add_library(ntdll SHARED ${SOURCE} ${ntdll_asm})
+
+add_library(ntdll SHARED
+ ${SOURCE}
+ ${ntdll_asm}
+ def/ntdll.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/ntdll.def)
set_module_type(ntdll win32dll ENTRYPOINT 0)
#############################################
@@ -55,7 +59,7 @@
uuid
${PSEH_LIB})
-add_pch(ntdll include/ntdll.h)
+add_pch(ntdll include/ntdll.h SOURCE)
add_dependencies(ntdll ntstatus asm)
add_cd_file(TARGET ntdll DESTINATION reactos/system32 NO_CAB FOR all)