[NTDLL]
[reactos.git] / subsystems / win32 / 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.c
9 init.c
10 procsup.c
11 server.c
12 session.c
13 thredsup.c
14 user.c
15 wait.c
16 ${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
17
18 add_library(csrsrv SHARED ${SOURCE})
19
20 target_link_libraries(csrsrv ${PSEH_LIB} smlib)
21
22 set_module_type(csrsrv nativedll)
23
24 add_importlibs(csrsrv ntdll smdll)
25
26 add_pch(csrsrv srv.h)
27
28 add_dependencies(csrsrv psdk bugcodes)
29 add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)
30