xref: /reactos/dll/win32/mstask/CMakeLists.txt (revision ac43fd2b)
1
2add_definitions(-D__WINESRC__)
3include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4generate_idl_iids(mstask_local.idl)
5spec2def(mstask.dll mstask.spec)
6
7list(APPEND SOURCE
8    factory.c
9    mstask_main.c
10    task.c
11    task_scheduler.c
12    task_trigger.c
13    precomp.h
14    ${CMAKE_CURRENT_BINARY_DIR}/mstask_local_i.c
15    ${CMAKE_CURRENT_BINARY_DIR}/mstask_stubs.c)
16
17add_library(mstask MODULE
18    ${SOURCE}
19    rsrc.rc
20    ${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
21
22set_module_type(mstask win32dll)
23target_link_libraries(mstask uuid wine)
24add_importlibs(mstask ole32 msvcrt kernel32 ntdll)
25add_pch(mstask precomp.h SOURCE)
26add_cd_file(TARGET mstask DESTINATION reactos/system32 FOR all)
27