[CMAKE]
[reactos.git] / dll / win32 / actxprxy / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(actxprxy.dll actxprxy.spec)
6
7 add_rpcproxy_library(actxprxylib
8 actxprxy_activscp.idl
9 actxprxy_comcat.idl
10 actxprxy_docobj.idl
11 actxprxy_hlink.idl
12 actxprxy_htiframe.idl
13 actxprxy_objsafe.idl
14 actxprxy_ocmm.idl
15 actxprxy_servprov.idl
16 actxprxy_shobjidl.idl
17 actxprxy_urlhist.idl)
18
19 list(APPEND SOURCE
20 usrmarshal.c
21 ${CMAKE_CURRENT_BINARY_DIR}/actxprxy.def)
22
23 add_library(actxprxy SHARED ${SOURCE})
24
25 set_entrypoint(actxprxy 0)
26
27 target_link_libraries(actxprxy
28 actxprxylib
29 uuid
30 wine
31 ${PSEH_LIB})
32
33 add_importlibs(actxprxy
34 rpcrt4
35 ole32
36 oleaut32
37 kernel32
38 ntdll)
39
40 add_definitions(-DREGISTER_PROXY_DLL -DPROXY_DELEGATION)
41
42 add_cd_file(TARGET actxprxy DESTINATION reactos/system32 FOR all)