reactos/dll/win32/actxprxy/CMakeLists.txt
Timo Kreuzer 96abfd1223 [UUID]
The old uuid library was one file containing all the uuids, generated from the psdk headers, which results in all GUIDs being linked, as soon as a single one is used. Also while widl creates DEFINE_GUID() entries in the header files, midl only creates "extern GUID", so this didn't work on MSVC. The new version uses iid files generated from the idl files and some extra C files. This works with both midl and widl, reduces overhead when linking uuids and is much closer to MS uuid lib.

svn path=/branches/cmake-bringup/; revision=50569
2011-01-30 14:09:38 +00:00

43 lines
819 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(actxprxy.dll actxprxy.spec)
add_rpcproxy_library(actxprxylib
actxprxy_activscp.idl
actxprxy_comcat.idl
actxprxy_docobj.idl
actxprxy_hlink.idl
actxprxy_htiframe.idl
actxprxy_objsafe.idl
actxprxy_ocmm.idl
actxprxy_servprov.idl
actxprxy_shobjidl.idl
actxprxy_urlhist.idl)
list(APPEND SOURCE
usrmarshal.c
${CMAKE_CURRENT_BINARY_DIR}/actxprxy.def)
add_library(actxprxy SHARED ${SOURCE})
set_entrypoint(actxprxy 0)
target_link_libraries(actxprxy
actxprxylib
uuid
wine
${PSEH_LIB})
add_importlibs(actxprxy
rpcrt4
ole32
oleaut32
kernel32
ntdll)
add_definitions(-DREGISTER_PROXY_DLL -DPROXY_DELEGATION)
add_cab_target(actxprxy 1)