reactos/dll/win32/sti/CMakeLists.txt
Hermès Bélusca-Maïto 5380113016 Sync with trunk rev.61910 to get latest improvements and bugfixes.
svn path=/branches/ntvdm/; revision=61911
2014-02-01 22:56:13 +00:00

25 lines
676 B
CMake

add_definitions(
-D__WINESRC__
-DENTRY_PREFIX=STI_
-DPROXY_DELEGATION
-DWINE_REGISTER_DLL)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(sti.dll sti.spec)
list(APPEND SOURCE
sti.c
sti_main.c
guid.c
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c
${CMAKE_CURRENT_BINARY_DIR}/sti.def)
add_rpcproxy_files(sti_wia.idl)
add_library(sti SHARED ${SOURCE} sti.rc)
set_module_type(sti win32dll)
target_link_libraries(sti wine uuid ${PSEH_LIB})
add_importlibs(sti ole32 oleaut32 rpcrt4 advapi32 msvcrt kernel32 ntdll)
add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)