[CMAKE] winetests/: Move '/wd4101' to kernel32/ only
[reactos.git] / dll / win32 / sti / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -DENTRY_PREFIX=STI_
5 -DPROXY_DELEGATION
6 -DWINE_REGISTER_DLL)
7
8 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
9 spec2def(sti.dll sti.spec)
10 add_rpcproxy_files(sti_wia.idl)
11
12 list(APPEND SOURCE
13 sti.c
14 sti_main.c)
15
16 list(APPEND PCH_SKIP_SOURCE
17 guid.c)
18
19 add_library(sti MODULE
20 ${SOURCE}
21 ${PCH_SKIP_SOURCE}
22 sti.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
24 ${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c
25 ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
26
27 set_module_type(sti win32dll)
28 target_link_libraries(sti wine uuid ${PSEH_LIB})
29 add_importlibs(sti ole32 oleaut32 rpcrt4 advapi32 msvcrt kernel32 ntdll)
30 add_pch(sti precomp.h "${PCH_SKIP_SOURCE}")
31 add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)