[STI]
[reactos.git] / reactos / 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 -DWINE_REGISTER_DLL)
10
11 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
12
13 spec2def(sti.dll sti.spec)
14
15 list(APPEND SOURCE
16 sti.c
17 sti_main.c
18 sti.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
20 ${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c
21 ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
22
23 add_rpcproxy_files(sti_wia.idl)
24 add_library(sti SHARED ${SOURCE})
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_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)