[DLLS]
[reactos.git] / reactos / subsystems / win32 / csrsrv / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/subsystems/win32/csrss/include)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/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 wait.c
15 srv.h)
16
17 add_library(csrsrv SHARED
18 ${SOURCE}
19 csrsrv.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
21
22 set_module_type(csrsrv nativedll)
23 target_link_libraries(csrsrv ${PSEH_LIB} smlib)
24 add_importlibs(csrsrv smdll ntdll)
25 add_pch(csrsrv srv.h SOURCE)
26 add_dependencies(csrsrv psdk bugcodes)
27 add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)