* Sync up to trunk head (r64921).
[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}/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 precomp.h
16 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
17 ${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c)
18
19 add_library(sti SHARED
20 ${SOURCE}
21 guid.c
22 sti.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
24
25 set_module_type(sti win32dll)
26 target_link_libraries(sti wine uuid ${PSEH_LIB})
27 add_importlibs(sti ole32 oleaut32 rpcrt4 advapi32 msvcrt kernel32 ntdll)
28 add_pch(sti precomp.h SOURCE)
29 add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)