mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[BASESRV][CSRSRV]
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62088
This commit is contained in:
@@ -10,10 +10,13 @@ list(APPEND SOURCE
|
||||
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 @@ set_subsystem(basesrv console)
|
||||
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)
|
||||
|
||||
@@ -12,17 +12,20 @@ list(APPEND SOURCE
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user