Author: sir_richard
Date: Wed Aug 4 08:16:37 2010
New Revision: 48450
URL:
http://svn.reactos.org/svn/reactos?rev=48450&view=rev
Log:
[CMAKE]: PCH for NTDLL too.
Modified:
branches/cmake-bringup/dll/ntdll/CMakeLists.txt
Modified: branches/cmake-bringup/dll/ntdll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/ntdll/CMakeLi…
==============================================================================
--- branches/cmake-bringup/dll/ntdll/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/ntdll/CMakeLists.txt [iso-8859-1] Wed Aug 4 08:16:37 2010
@@ -15,7 +15,7 @@
file(GLOB_RECURSE ARCH_SOURCE
"${CMAKE_CURRENT_SOURCE_DIR}/dispatch/${ARCH}/*.c"
"${CMAKE_CURRENT_SOURCE_DIR}/dispatch/${ARCH}/*.s")
-add_library(ntdll SHARED ${ARCH_SOURCE} ${SOURCE}
${CMAKE_CURRENT_SOURCE_DIR}/def/ntdll.rc)
-
+add_library(ntdll SHARED ${ARCH_SOURCE} ${SOURCE}
${CMAKE_CURRENT_SOURCE_DIR}/def/ntdll.rc
${CMAKE_CURRENT_SOURCE_DIR}/include/ntdll.h.gch)
target_link_libraries(ntdll rtl ntdllsys libcntpr pseh)
+add_pch(ntdll ${CMAKE_CURRENT_SOURCE_DIR}/include/ntdll.h ${SOURCE})
add_dependencies(ntdll ntstatus version)