[CMAKE]
[reactos.git] / base / system / services / CMakeLists.txt
1
2 set_unicode()
3
4 include_directories(
5 ${REACTOS_BINARY_DIR}/include/reactos/idl
6 ${REACTOS_SOURCE_DIR}/include/reactos/subsys)
7
8 list(APPEND SOURCE
9 config.c
10 database.c
11 driver.c
12 groupdb.c
13 rpcserver.c
14 services.c
15 services.rc)
16
17 add_executable(services ${CMAKE_CURRENT_BINARY_DIR}/services_services.h.gch ${SOURCE})
18
19 target_link_libraries(services
20 svcctlrpc
21 ${PSEH_LIB})
22
23 add_pch(services ${CMAKE_CURRENT_SOURCE_DIR}/services.h ${SOURCE})
24
25 set_module_type(services win32cui)
26 add_importlibs(services user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
27 add_cd_file(TARGET services DESTINATION reactos/system32)