2011-05-16 13:12:07 +00:00
|
|
|
|
2015-07-20 21:52:13 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DENTRY_PREFIX=OLEACC_
|
|
|
|
-DPROXY_DELEGATION
|
|
|
|
-DWINE_REGISTER_DLL)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(oleacc.dll oleacc.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2014-10-03 16:42:05 +00:00
|
|
|
client.c
|
2011-05-16 13:12:07 +00:00
|
|
|
main.c
|
2014-10-03 16:42:05 +00:00
|
|
|
propservice.c
|
|
|
|
window.c
|
2018-03-20 11:39:58 +00:00
|
|
|
precomp.h
|
2015-07-20 21:52:13 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-07-20 21:52:13 +00:00
|
|
|
add_idl_headers(oleacc_idlheader oleacc_classes.idl)
|
2013-12-01 14:37:32 +00:00
|
|
|
add_typelib(oleacc_classes.idl)
|
2015-07-20 21:52:13 +00:00
|
|
|
add_rpcproxy_files(oleacc_classes.idl)
|
2013-12-01 14:37:32 +00:00
|
|
|
|
|
|
|
list(APPEND oleacc_rc_deps
|
2015-07-20 21:52:13 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/oleacc_classes_r.rgs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/oleacc_classes_t.rgs
|
2013-12-01 14:37:32 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc_classes.tlb)
|
|
|
|
|
|
|
|
set_source_files_properties(oleacc.rc PROPERTIES OBJECT_DEPENDS "${oleacc_rc_deps}")
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(oleacc MODULE
|
2014-10-03 16:42:05 +00:00
|
|
|
${SOURCE}
|
2015-07-20 21:52:13 +00:00
|
|
|
guid.c
|
2014-10-03 16:42:05 +00:00
|
|
|
oleacc.rc
|
2015-07-20 21:52:13 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc_classes_p.c
|
2014-10-03 16:42:05 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
|
|
|
|
|
2015-07-20 21:52:13 +00:00
|
|
|
add_dependencies(oleacc oleacc_idlheader stdole2)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(oleacc win32dll)
|
2015-07-20 21:52:13 +00:00
|
|
|
target_link_libraries(oleacc uuid wine ${PSEH_LIB})
|
|
|
|
add_importlibs(oleacc oleaut32 ole32 user32 rpcrt4 msvcrt kernel32 ntdll)
|
2018-03-20 11:39:58 +00:00
|
|
|
add_pch(oleacc precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET oleacc DESTINATION reactos/system32 FOR all)
|