[CSRSS/CSRSRV]
[reactos.git] / subsystems / win32 / csrss / csrsrv / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/subsystems/win32/csrss/include)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
4
5 spec2def(csrsrv.dll csrsrv.spec ADD_IMPORTLIB)
6
7 list(APPEND SOURCE
8 api/process.c
9 api/user.c
10 api/wapi.c
11 procsup.c
12 thredsup.c
13 init.c
14 wait.c
15 session.c
16 server.c
17 ${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
18
19 add_library(csrsrv SHARED ${SOURCE})
20
21 target_link_libraries(csrsrv ${PSEH_LIB} smlib)
22
23 set_module_type(csrsrv nativedll)
24
25 add_importlibs(csrsrv ntdll smdll)
26
27 add_pch(csrsrv srv.h)
28
29 add_dependencies(csrsrv psdk bugcodes)
30 add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)
31