mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
f44e914e80
svn path=/branches/ros-csrss/; revision=58034
31 lines
775 B
CMake
31 lines
775 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/subsys
|
|
${REACTOS_SOURCE_DIR}/include/reactos/idl
|
|
${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/svcctl.idl)
|
|
|
|
|
|
list(APPEND SOURCE
|
|
config.c
|
|
controlset.c
|
|
database.c
|
|
driver.c
|
|
groupdb.c
|
|
lock.c
|
|
rpcserver.c
|
|
services.c
|
|
services.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/svcctl_s.c)
|
|
|
|
add_executable(services ${SOURCE})
|
|
|
|
if(NOT MSVC)
|
|
target_link_libraries(services ${PSEH_LIB})
|
|
endif()
|
|
|
|
set_module_type(services win32gui UNICODE)
|
|
add_importlibs(services user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(services services.h ${CMAKE_CURRENT_BINARY_DIR}/svcctl_s.h)
|
|
add_cd_file(TARGET services DESTINATION reactos/system32 FOR all)
|