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 rpcserver.c 9 wkssvc.c 10 wkssvc.rc 11 ${CMAKE_CURRENT_BINARY_DIR}/wkssvc_s.c 12 ${CMAKE_CURRENT_BINARY_DIR}/wkssvc.def) 13 14set_module_type(wkssvc win32dll UNICODE) 15target_link_libraries(wkssvc wine) 16add_importlibs(wkssvc advapi32 rpcrt4 msvcrt kernel32 ntdll) 17add_cd_file(TARGET wkssvc DESTINATION reactos/system32 FOR all) 18