mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 10:14:44 +00:00

- Move more dlls with no stubs into using def files instead of spec files. svn path=/branches/cmake-bringup/; revision=49450
41 lines
679 B
CMake
41 lines
679 B
CMake
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-DENTRY_PREFIX=STI_
|
|
-DPROXY_DELEGATION
|
|
-DREGISTER_PROXY_DLL)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
add_library(sti SHARED
|
|
regsvr.c
|
|
sti.c
|
|
sti_main.c
|
|
sti_wia.idl
|
|
sti.def)
|
|
|
|
if(NOT MSVC)
|
|
set_source_files_properties(sti.def PROPERTIES EXTERNAL_OBJECT TRUE)
|
|
endif()
|
|
|
|
set_entrypoint(sti 0)
|
|
|
|
target_link_libraries(sti
|
|
sti_proxy
|
|
wine
|
|
uuid
|
|
${PSEH_LIB})
|
|
|
|
add_importlibs(sti
|
|
ole32
|
|
oleaut32
|
|
rpcrt4
|
|
advapi32
|
|
kernel32
|
|
ntdll)
|
|
|
|
rpcproxy(sti sti_wia.idl)
|
|
add_cab_target(sti 1)
|