2011-05-16 13:12:07 +00:00
|
|
|
|
2012-12-22 10:47:06 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2011-05-16 13:12:07 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
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
|
2014-02-10 12:19:56 +00:00
|
|
|
mstask_private.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)
|
|
|
|
|
|
|
|
add_library(mstask SHARED
|
|
|
|
${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)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(mstask mstask_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mstask DESTINATION reactos/system32 FOR all)
|