2015-03-22 21:57:55 +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/atsvc.idl)
|
2015-03-22 21:57:55 +00:00
|
|
|
spec2def(schedsvc.dll schedsvc.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
add_library(schedsvc SHARED
|
2017-04-09 08:47:10 +00:00
|
|
|
job.c
|
2015-03-22 21:57:55 +00:00
|
|
|
rpcserver.c
|
|
|
|
schedsvc.c
|
|
|
|
schedsvc.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/atsvc_s.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/schedsvc.def)
|
|
|
|
|
|
|
|
set_module_type(schedsvc win32dll UNICODE)
|
|
|
|
target_link_libraries(schedsvc wine)
|
|
|
|
add_importlibs(schedsvc advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET schedsvc DESTINATION reactos/system32 FOR all)
|