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