reactos/dll/win32/actxprxy/CMakeLists.txt
2011-05-24 18:40:34 +00:00

52 lines
1.4 KiB
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(actxprxy.dll actxprxy.spec)
add_rpcproxy_files(
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_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_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_shobjidl_p.c
${CMAKE_CURRENT_BINARY_DIR}/actxprxy_urlhist_p.c
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
${CMAKE_CURRENT_BINARY_DIR}/actxprxy.def)
add_library(actxprxy SHARED ${SOURCE})
set_entrypoint(actxprxy 0)
target_link_libraries(actxprxy
uuid
wine
${PSEH_LIB})
add_importlibs(actxprxy
rpcrt4
ole32
oleaut32
kernel32
ntdll)
add_definitions(-DREGISTER_PROXY_DLL -DPROXY_DELEGATION)
add_cd_file(TARGET actxprxy DESTINATION reactos/system32 FOR all)