[CMAKE]
[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__WINESRC__)
9
10 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
11
12 spec2def(mstask.dll mstask.spec)
13
14 add_library(mstask SHARED
15 factory.c
16 mstask_main.c
17 task.c
18 task_scheduler.c
19 task_trigger.c
20 rsrc.rc
21 ${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
22
23 set_module_type(mstask win32dll)
24
25 target_link_libraries(mstask
26 mstask_local_interface
27 uuid
28 wine)
29
30 add_importlibs(mstask ole32 ntdll)
31
32 add_cab_target(mstask 1)