2011-05-16 13:12:07 +00:00
|
|
|
|
2012-12-22 10:47:06 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2020-02-28 13:09:57 +00:00
|
|
|
include_directories(BEFORE
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
|
|
${REACTOS_BINARY_DIR}/dll/win32/netapi32)
|
2011-05-16 13:12:07 +00:00
|
|
|
generate_idl_iids(mstask_local.idl)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(mstask.dll mstask.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
factory.c
|
|
|
|
mstask_main.c
|
|
|
|
task.c
|
|
|
|
task_scheduler.c
|
|
|
|
task_trigger.c
|
2020-02-28 13:09:57 +00:00
|
|
|
stubs.c
|
2018-03-18 11:39:13 +00:00
|
|
|
precomp.h
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mstask_local_i.c
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mstask_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mstask MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
|
|
|
rsrc.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
|
|
|
|
|
|
|
|
set_module_type(mstask win32dll)
|
|
|
|
target_link_libraries(mstask uuid wine)
|
|
|
|
add_importlibs(mstask ole32 msvcrt kernel32 ntdll)
|
2020-06-06 20:55:23 +00:00
|
|
|
add_dependencies(mstask netapi32)
|
2018-03-18 11:39:13 +00:00
|
|
|
add_pch(mstask precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mstask DESTINATION reactos/system32 FOR all)
|