mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[BASESRV][CSRSRV]
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62088
This commit is contained in:
parent
f553e50746
commit
8d7af385aa
2 changed files with 10 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue