[GDI32] Fix IV msvc build.
[reactos.git] / base / services / schedsvc / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
3 add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/atsvc.idl)
4 spec2def(schedsvc.dll schedsvc.spec ADD_IMPORTLIB)
5
6 add_library(schedsvc MODULE
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
14 set_module_type(schedsvc win32dll UNICODE)
15 target_link_libraries(schedsvc wine)
16 add_importlibs(schedsvc advapi32 rpcrt4 msvcrt kernel32 ntdll)
17 add_cd_file(TARGET schedsvc DESTINATION reactos/system32 FOR all)