2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys)
|
2014-12-16 20:26:02 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(csrsrv.dll csrsrv.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2012-10-22 00:09:51 +00:00
|
|
|
api.c
|
|
|
|
init.c
|
2011-05-16 13:12:07 +00:00
|
|
|
procsup.c
|
2012-10-22 00:09:51 +00:00
|
|
|
server.c
|
|
|
|
session.c
|
2011-05-16 13:12:07 +00:00
|
|
|
thredsup.c
|
2012-02-16 06:57:27 +00:00
|
|
|
wait.c
|
2014-02-09 23:03:24 +00:00
|
|
|
srv.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(csrsrv MODULE
|
2014-02-09 23:03:24 +00:00
|
|
|
${SOURCE}
|
2012-10-22 23:37:07 +00:00
|
|
|
csrsrv.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
|
|
|
|
|
2013-09-01 00:11:56 +00:00
|
|
|
set_module_type(csrsrv nativedll)
|
2022-10-23 16:02:38 +00:00
|
|
|
target_link_libraries(csrsrv smlib ${PSEH_LIB})
|
2022-10-21 14:13:22 +00:00
|
|
|
add_importlibs(csrsrv ntdll)
|
2014-02-09 23:03:24 +00:00
|
|
|
add_pch(csrsrv srv.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_dependencies(csrsrv psdk bugcodes)
|
|
|
|
add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)
|