mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 11:35:58 +00:00
17 lines
553 B
CMake
17 lines
553 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 SHARED
|
|
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 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET wkssvc DESTINATION reactos/system32 FOR all)
|