mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
18 lines
574 B
CMake
18 lines
574 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/wkssvc.idl)
|
|
spec2def(wkssvc.dll wkssvc.spec ADD_IMPORTLIB)
|
|
|
|
add_library(wkssvc MODULE
|
|
domain.c
|
|
rpcserver.c
|
|
wkssvc.c
|
|
wkssvc.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/wkssvc_s.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/wkssvc.def)
|
|
|
|
set_module_type(wkssvc win32dll UNICODE)
|
|
target_link_libraries(wkssvc wine)
|
|
add_importlibs(wkssvc secur32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET wkssvc DESTINATION reactos/system32 FOR all)
|