[CMAKE]
[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)
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 ${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
15
16 add_library(csrsrv SHARED ${CMAKE_CURRENT_BINARY_DIR}/csrsrv_srv.h.gch ${SOURCE})
17
18 target_link_libraries(csrsrv pseh)
19
20 set_module_type(csrsrv nativedll)
21
22 add_importlibs(csrsrv ntdll smdll)
23
24 add_pch(csrsrv ${CMAKE_CURRENT_SOURCE_DIR}/srv.h ${SOURCE})
25
26 add_dependencies(csrsrv psdk bugcodes)
27 add_cab_target(csrsrv 1)