61c472377a6a5738d49dfa080162b3799a507687
[reactos.git] / subsystems / win / basesrv / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/subsystems/win32/csrss/include
3 ${REACTOS_SOURCE_DIR}/include/reactos/subsys)
4
5 spec2def(basesrv.dll basesrv.spec)
6
7 list(APPEND SOURCE
8 init.c
9 server.c
10 basesrv.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/basesrv.def)
12
13 add_library(basesrv SHARED ${SOURCE})
14
15 target_link_libraries(basesrv ${PSEH_LIB})
16
17 set_module_type(basesrv win32dll)
18
19 add_importlibs(basesrv ntdll csrsrv)
20
21 #add_pch(basesrv w32csr.h)
22
23 add_dependencies(basesrv bugcodes)
24 add_cd_file(TARGET basesrv DESTINATION reactos/system32 FOR all)