1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4add_definitions(-DWINE_REGISTER_DLL -DPROXY_DELEGATION) 5spec2def(actxprxy.dll actxprxy.spec) 6 7add_rpcproxy_files( 8 actxprxy_activscp.idl 9 actxprxy_comcat.idl 10 actxprxy_docobj.idl 11 actxprxy_hlink.idl 12 actxprxy_htiface.idl 13 actxprxy_htiframe.idl 14 actxprxy_objsafe.idl 15 actxprxy_ocmm.idl 16 actxprxy_servprov.idl 17 actxprxy_shldisp.idl 18 actxprxy_shobjidl.idl 19 actxprxy_urlhist.idl) 20 21list(APPEND SOURCE 22 usrmarshal.c 23 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_activscp_p.c 24 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_comcat_p.c 25 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_docobj_p.c 26 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_hlink_p.c 27 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_htiface_p.c 28 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_htiframe_p.c 29 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_objsafe_p.c 30 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_ocmm_p.c 31 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_servprov_p.c 32 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_shldisp_p.c 33 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_shobjidl_p.c 34 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy_urlhist_p.c 35 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c 36 precomp.h) 37 38add_library(actxprxy SHARED 39 ${SOURCE} 40 actxprxy.rc 41 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy.def) 42 43set_module_type(actxprxy win32dll) 44target_link_libraries(actxprxy uuid wine ${PSEH_LIB}) 45add_importlibs(actxprxy rpcrt4 ole32 oleaut32 msvcrt kernel32 ntdll) 46add_pch(actxprxy precomp.h SOURCE) 47add_cd_file(TARGET actxprxy DESTINATION reactos/system32 FOR all) 48