reactos/dll/win32/actxprxy/CMakeLists.txt
Timo Kreuzer 0d54e35b94 [CMAKE]
Refactor IDL compilation:
- Move all macros to idl-support.cmake
- Make rpc proxy a static library, instead of fiddeling with SOURCE variable
- Merge client and server rpc libraries into one library
- Reorder global makelist file a little
- Improve configure script
- Improve naming, use add_* when a target is added, generate_* when only a file is generated
- Don't compile wbemcli.idl on MSVC (temp hack)
- Don't compile rossym on MSVC, we don't use it
- Use ml64 as assembler when compiling for amd64
- fix spec2def invocation

svn path=/branches/cmake-bringup/; revision=50478
2011-01-24 18:13:40 +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)