[STI]
[reactos.git] / reactos / 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
11 list(APPEND SOURCE
12 sti.c
13 sti_main.c
14 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
15 ${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c
16 ${CMAKE_CURRENT_BINARY_DIR}/sti.def)
17
18 add_rpcproxy_files(sti_wia.idl)
19 add_library(sti SHARED ${SOURCE} sti.rc)
20 set_module_type(sti win32dll)
21 target_link_libraries(sti wine uuid ${PSEH_LIB})
22 add_importlibs(sti ole32 oleaut32 rpcrt4 advapi32 msvcrt kernel32 ntdll)
23 add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)