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
|
2020-05-09 21:37:40 +00:00
|
|
|
sti_main.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(sti MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-10 12:19:56 +00:00
|
|
|
sti.rc
|
2020-05-09 21:37:40 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c
|
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)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(sti precomp.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)
|