[CMAKE]
[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 ${CMAKE_CURRENT_SOURCE_DIR}/sti.spec ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
14
15 add_library(sti SHARED
16 regsvr.c
17 sti.c
18 sti_main.c
19 sti_wia.idl)
20
21 set_entrypoint(sti 0)
22
23 target_link_libraries(sti
24 ${CMAKE_CURRENT_BINARY_DIR}/sti.def
25 sti_proxy
26 wine
27 uuid
28 pseh)
29
30 add_importlibs(sti
31 ole32
32 oleaut32
33 rpcrt4
34 advapi32
35 kernel32
36 ntdll)
37
38 add_dependencies(sti sti_def)
39
40 rpcproxy(sti sti_wia.idl)
41 add_cab_target(sti 1)