mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
28 lines
777 B
CMake
28 lines
777 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
|
${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/svcctl.idl)
|
|
|
|
list(APPEND SOURCE
|
|
config.c
|
|
controlset.c
|
|
database.c
|
|
driver.c
|
|
groupdb.c
|
|
lock.c
|
|
rpcserver.c
|
|
security.c
|
|
services.c
|
|
services.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/svcctl_s.c)
|
|
|
|
add_executable(services ${SOURCE} services.rc)
|
|
target_link_libraries(services ${PSEH_LIB})
|
|
|
|
set_module_type(services win32gui UNICODE)
|
|
add_importlibs(services userenv user32 advapi32 advapi32_vista rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(services services.h SOURCE)
|
|
add_cd_file(TARGET services DESTINATION reactos/system32 FOR all)
|