4992e70b7789fe5ed1915c957159a9d4f149f48b
[reactos.git] / dll / win32 / qmgrprxy / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -DREGISTER_PROXY_DLL)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 add_idl_interface(qmgrprxy.idl)
9
10 spec2def(qmgrprxy.dll qmgrprxy.spec)
11
12 list(APPEND SOURCE
13 version.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_i.c
15 ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
16
17 add_library(qmgrprxy SHARED ${SOURCE})
18
19 rpcproxy(qmgrprxy qmgrprxy.idl)
20
21 set_module_type(qmgrprxy win32dll)
22 target_link_libraries(qmgrprxy qmgrprxy_proxy ${PSEH_LIB} wine)
23 add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
24 add_cab_target(qmgrprxy 1)