mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
47 lines
1.6 KiB
CMake
47 lines
1.6 KiB
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
add_definitions(-DWINE_REGISTER_DLL -DPROXY_DELEGATION)
|
|
spec2def(actxprxy.dll actxprxy.spec)
|
|
|
|
add_rpcproxy_files(
|
|
actxprxy_activscp.idl
|
|
actxprxy_comcat.idl
|
|
actxprxy_docobj.idl
|
|
actxprxy_hlink.idl
|
|
actxprxy_htiface.idl
|
|
actxprxy_htiframe.idl
|
|
actxprxy_objsafe.idl
|
|
actxprxy_ocmm.idl
|
|
actxprxy_servprov.idl
|
|
actxprxy_shldisp.idl
|
|
actxprxy_shobjidl.idl
|
|
actxprxy_urlhist.idl)
|
|
|
|
list(APPEND SOURCE
|
|
usrmarshal.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_activscp_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_comcat_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_docobj_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_hlink_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_htiface_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_htiframe_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_objsafe_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_ocmm_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_servprov_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_shldisp_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_shobjidl_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_urlhist_p.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
|
precomp.h)
|
|
|
|
add_library(actxprxy MODULE
|
|
${SOURCE}
|
|
actxprxy.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/actxprxy.def)
|
|
|
|
set_module_type(actxprxy win32dll)
|
|
target_link_libraries(actxprxy uuid wine ${PSEH_LIB})
|
|
add_importlibs(actxprxy rpcrt4 ole32 oleaut32 msvcrt kernel32 ntdll)
|
|
add_pch(actxprxy precomp.h SOURCE)
|
|
add_cd_file(TARGET actxprxy DESTINATION reactos/system32 FOR all)
|