1 2add_rpc_files(server 3 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/epm.idl 4 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine/irot.idl) 5 6 7list(APPEND SOURCE 8 epmp.c 9 irotp.c 10 rpcss_main.c 11 precomp.h 12 ${CMAKE_CURRENT_BINARY_DIR}/epm_s.c 13 ${CMAKE_CURRENT_BINARY_DIR}/irot_s.c) 14 15include_directories(${REACTOS_BINARY_DIR}/sdk/include/reactos/wine) 16add_executable(rpcss ${SOURCE} rpcss.rc) 17 18if(USE_CLANG_CL) 19 add_target_compile_flags(rpcss "-Wno-cast-calling-convention") 20endif() 21 22target_link_libraries(rpcss ${PSEH_LIB} wine) 23set_module_type(rpcss win32cui UNICODE) 24add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll) 25add_pch(rpcss precomp.h SOURCE) 26add_cd_file(TARGET rpcss DESTINATION reactos/system32 FOR all) 27