Create the AHCI branch for Aman's work
[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 SHARED
7 rpcserver.c
8 schedsvc.c
9 schedsvc.rc
10 ${CMAKE_CURRENT_BINARY_DIR}/atsvc_s.c
11 ${CMAKE_CURRENT_BINARY_DIR}/schedsvc.def)
12
13 set_module_type(schedsvc win32dll UNICODE)
14 target_link_libraries(schedsvc wine)
15 add_importlibs(schedsvc advapi32 rpcrt4 msvcrt kernel32 ntdll)
16 add_cd_file(TARGET schedsvc DESTINATION reactos/system32 FOR all)