d5d0406751d6be099e1d68005171c9a36effc197
[reactos.git] / dll / win32 / mstask / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-DWINVER=0x502)
5 add_definitions(-DWINVER=0x600)
6
7 remove_definitions(-D_WIN32_WINNT=0x502)
8 add_definitions(-D_WIN32_WINNT=0x600)
9
10 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
11
12 generate_idl_iids(mstask_local.idl)
13
14 spec2def(mstask.dll mstask.spec)
15
16 list(APPEND SOURCE
17 factory.c
18 mstask_main.c
19 task.c
20 task_scheduler.c
21 task_trigger.c
22 rsrc.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/mstask_local_i.c
24 ${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
25
26 add_library(mstask SHARED ${SOURCE})
27
28 set_module_type(mstask win32dll)
29
30 target_link_libraries(mstask uuid wine)
31
32 add_importlibs(mstask ole32 msvcrt kernel32 ntdll)
33
34 add_cab_target(mstask 1)