[CMAKE]
[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 generate_idl_iids(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_rpcproxy_library(qmgrprxylib qmgrprxy.idl)
18
19 add_library(qmgrprxy SHARED ${SOURCE})
20
21 set_module_type(qmgrprxy win32dll)
22 target_link_libraries(qmgrprxy qmgrprxylib ${PSEH_LIB} wine)
23 add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
24 add_cd_file(TARGET qmgrprxy DESTINATION reactos/system32 FOR all)