2015-04-14 20:59:34 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/srvsvc.idl)
|
2015-04-14 20:59:34 +00:00
|
|
|
spec2def(srvsvc.dll srvsvc.spec ADD_IMPORTLIB)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(srvsvc MODULE
|
2015-04-14 20:59:34 +00:00
|
|
|
rpcserver.c
|
|
|
|
srvsvc.c
|
|
|
|
srvsvc.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/srvsvc_s.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/srvsvc.def)
|
|
|
|
|
|
|
|
set_module_type(srvsvc win32dll UNICODE)
|
|
|
|
target_link_libraries(srvsvc wine)
|
|
|
|
add_importlibs(srvsvc advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET srvsvc DESTINATION reactos/system32 FOR all)
|