mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
29 lines
669 B
CMake
29 lines
669 B
CMake
|
|
add_rpc_files(server
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine/epm.idl
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine/irot.idl)
|
|
|
|
|
|
list(APPEND SOURCE
|
|
epmp.c
|
|
irotp.c
|
|
rpcss_main.c
|
|
service_main.c
|
|
rpcss.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/epm_s.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/irot_s.c)
|
|
|
|
include_directories(${REACTOS_BINARY_DIR}/include/reactos/wine)
|
|
|
|
add_executable(rpcss ${SOURCE} rpcss.rc)
|
|
|
|
target_link_libraries(rpcss
|
|
${PSEH_LIB}
|
|
wine)
|
|
|
|
set_module_type(rpcss win32cui UNICODE)
|
|
|
|
add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_pch(rpcss rpcss.h SOURCE)
|
|
add_cd_file(TARGET rpcss DESTINATION reactos/system32 FOR all)
|