2011-05-16 13:12:07 +00:00
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
add_rpc_files(server
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/epm.idl
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/irot.idl)
|
2021-09-13 01:33:14 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
epmp.c
|
|
|
|
irotp.c
|
|
|
|
rpcss_main.c
|
2018-09-16 21:56:59 +00:00
|
|
|
setup.c
|
2018-04-01 12:11:47 +00:00
|
|
|
precomp.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
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos/wine)
|
2014-02-08 19:01:04 +00:00
|
|
|
add_executable(rpcss ${SOURCE} rpcss.rc)
|
2017-12-07 22:26:59 +00:00
|
|
|
|
2022-05-25 23:03:50 +00:00
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(rpcss PRIVATE "-Wno-cast-calling-convention")
|
2017-12-07 22:26:59 +00:00
|
|
|
endif()
|
|
|
|
|
2014-10-17 23:28:29 +00:00
|
|
|
target_link_libraries(rpcss ${PSEH_LIB} wine)
|
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)
|
2018-04-01 12:11:47 +00:00
|
|
|
add_pch(rpcss precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET rpcss DESTINATION reactos/system32 FOR all)
|