2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
2011-08-21 18:48:53 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR})
|
2011-08-07 00:53:19 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/svcctl.idl)
|
2011-08-07 00:53:19 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
config.c
|
2012-07-07 18:17:59 +00:00
|
|
|
controlset.c
|
2011-05-16 13:12:07 +00:00
|
|
|
database.c
|
|
|
|
driver.c
|
|
|
|
groupdb.c
|
2012-07-07 15:35:40 +00:00
|
|
|
lock.c
|
2011-05-16 13:12:07 +00:00
|
|
|
rpcserver.c
|
2016-06-09 21:30:48 +00:00
|
|
|
security.c
|
2011-05-16 13:12:07 +00:00
|
|
|
services.c
|
2014-02-09 10:40:34 +00:00
|
|
|
services.h
|
2011-08-07 00:53:19 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/svcctl_s.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-09 10:40:34 +00:00
|
|
|
add_executable(services ${SOURCE} services.rc)
|
2021-04-22 15:28:52 +00:00
|
|
|
target_link_libraries(services ${PSEH_LIB})
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-12-18 20:38:54 +00:00
|
|
|
set_module_type(services win32gui UNICODE)
|
2023-12-14 18:01:18 +00:00
|
|
|
add_importlibs(services userenv user32 advapi32 advapi32_vista rpcrt4 msvcrt kernel32 ntdll)
|
2014-02-09 10:40:34 +00:00
|
|
|
add_pch(services services.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET services DESTINATION reactos/system32 FOR all)
|