2011-05-16 13:12:07 +00:00
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
add_rpc_files(server
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine/epm.idl
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine/irot.idl)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
epmp.c
|
|
|
|
irotp.c
|
|
|
|
rpcss_main.c
|
|
|
|
service_main.c
|
2014-02-08 19:01:04 +00:00
|
|
|
rpcss.h
|
2011-08-07 00:53:19 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/epm_s.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/irot_s.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_BINARY_DIR}/include/reactos/wine)
|
|
|
|
|
2014-02-08 19:01:04 +00:00
|
|
|
add_executable(rpcss ${SOURCE} rpcss.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
target_link_libraries(rpcss
|
|
|
|
${PSEH_LIB}
|
|
|
|
wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(rpcss win32cui UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
2014-02-08 19:01:04 +00:00
|
|
|
add_pch(rpcss rpcss.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET rpcss DESTINATION reactos/system32 FOR all)
|