2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DENTRY_PREFIX=STI_
|
|
|
|
-DPROXY_DELEGATION
|
2012-05-19 14:35:28 +00:00
|
|
|
-DWINE_REGISTER_DLL)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(sti.dll sti.spec)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_rpcproxy_files(sti_wia.idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
sti.c
|
|
|
|
sti_main.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c)
|
|
|
|
|
|
|
|
add_library(sti SHARED
|
|
|
|
${SOURCE}
|
|
|
|
guid.c
|
|
|
|
sti.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sti.def)
|
|
|
|
|
2011-09-04 15:29:15 +00:00
|
|
|
set_module_type(sti win32dll)
|
2012-05-19 14:35:28 +00:00
|
|
|
target_link_libraries(sti wine uuid ${PSEH_LIB})
|
|
|
|
add_importlibs(sti ole32 oleaut32 rpcrt4 advapi32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(sti precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)
|