c1c7fa6aa143bc71f597afbe1eb5a08f35a56fa6
[reactos.git] / dll / win32 / sti / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(
6 -D__WINESRC__
7 -DENTRY_PREFIX=STI_
8 -DPROXY_DELEGATION
9 -DREGISTER_PROXY_DLL)
10
11 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
12
13 spec2def(sti.dll sti.spec)
14
15 list(APPEND SOURCE
16 regsvr.c
17 sti.c
18 sti_main.c
19 ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
20
21 add_rpcproxy_library(stiproxy sti_wia.idl)
22
23 add_library(sti SHARED ${SOURCE})
24
25 set_entrypoint(sti 0)
26
27 target_link_libraries(sti
28 stiproxy
29 wine
30 uuid
31 ${PSEH_LIB})
32
33 add_importlibs(sti
34 ole32
35 oleaut32
36 rpcrt4
37 advapi32
38 kernel32
39 ntdll)
40
41 add_cab_target(sti 1)