sync with trunk r49322
[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
20 set_entrypoint(sti 0)
21
22 target_link_libraries(sti
23 ${CMAKE_CURRENT_BINARY_DIR}/sti.def
24 sti_proxy
25 wine
26 uuid
27 pseh)
28
29 add_importlibs(sti
30 ole32
31 oleaut32
32 rpcrt4
33 advapi32
34 kernel32
35 ntdll)
36
37 add_dependencies(sti sti_def)