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