[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 ${CMAKE_CURRENT_SOURCE_DIR}/mstask.spec ${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
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
22 set_module_type(mstask win32dll)
23
24 target_link_libraries(mstask
25 ${CMAKE_CURRENT_BINARY_DIR}/mstask.def
26 mstask_local_interface
27 uuid
28 wine)
29
30 add_importlibs(mstask ole32 ntdll)
31 add_dependencies(mstask mstask_def)
32 add_livecd_target(mstask reactos/system32)