1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl) 3add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/srvsvc.idl) 4spec2def(srvsvc.dll srvsvc.spec ADD_IMPORTLIB) 5 6add_library(srvsvc MODULE 7 rpcserver.c 8 srvsvc.c 9 srvsvc.rc 10 ${CMAKE_CURRENT_BINARY_DIR}/srvsvc_s.c 11 ${CMAKE_CURRENT_BINARY_DIR}/srvsvc.def) 12 13set_module_type(srvsvc win32dll UNICODE) 14target_link_libraries(srvsvc wine) 15add_importlibs(srvsvc advapi32 rpcrt4 msvcrt kernel32 ntdll) 16add_cd_file(TARGET srvsvc DESTINATION reactos/system32 FOR all) 17