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