* Sync to trunk HEAD (r53298).
[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 add_rpcproxy_files(qmgrprxy.idl)
13
14 list(APPEND SOURCE
15 version.rc
16 ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_i.c
17 ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_p.c
18 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
19 ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
20
21 add_library(qmgrprxy SHARED ${SOURCE})
22
23 set_module_type(qmgrprxy win32dll)
24 target_link_libraries(qmgrprxy ${PSEH_LIB} wine)
25 add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
26 add_cd_file(TARGET qmgrprxy DESTINATION reactos/system32 FOR all)