Author: akhaldi
Date: Sun Feb 9 23:03:24 2014
New Revision: 62088
URL:
http://svn.reactos.org/svn/reactos?rev=62088&view=rev
Log:
[BASESRV][CSRSRV]
* Prepare the CMake scripts for PCH.
CORE-7716
Modified:
trunk/reactos/subsystems/win/basesrv/CMakeLists.txt
trunk/reactos/subsystems/win32/csrsrv/CMakeLists.txt
Modified: trunk/reactos/subsystems/win/basesrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/CMa…
==============================================================================
--- trunk/reactos/subsystems/win/basesrv/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win/basesrv/CMakeLists.txt [iso-8859-1] Sun Feb 9 23:03:24
2014
@@ -10,10 +10,13 @@
sndsntry.c
vdm.c
nls.c
+ basesrv.h)
+
+add_library(basesrv SHARED
+ ${SOURCE}
basesrv.rc
${CMAKE_CURRENT_BINARY_DIR}/basesrv.def)
-add_library(basesrv SHARED ${SOURCE})
set_module_type(basesrv win32dll UNICODE ENTRYPOINT DllMain 12)
#############################################
## HACK FOR MSVC COMPILATION WITH win32dll ##
@@ -23,6 +26,6 @@
target_link_libraries(basesrv ${PSEH_LIB})
add_importlibs(basesrv csrsrv ntdll)
-
+add_pch(basesrv basesrv.h SOURCE)
add_dependencies(basesrv bugcodes)
add_cd_file(TARGET basesrv DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/subsystems/win32/csrsrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrsrv/CM…
==============================================================================
--- trunk/reactos/subsystems/win32/csrsrv/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrsrv/CMakeLists.txt [iso-8859-1] Sun Feb 9 23:03:24
2014
@@ -12,17 +12,20 @@
session.c
thredsup.c
wait.c
+ srv.h)
+
+add_library(csrsrv SHARED
+ ${SOURCE}
csrsrv.rc
${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
-add_library(csrsrv SHARED ${SOURCE})
set_module_type(csrsrv nativedll)
target_link_libraries(csrsrv ${PSEH_LIB} smlib)
add_importlibs(csrsrv ntdll smdll)
-add_pch(csrsrv srv.h)
+add_pch(csrsrv srv.h SOURCE)
add_dependencies(csrsrv psdk bugcodes)
add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)