xref: /reactos/dll/win32/qmgrprxy/CMakeLists.txt (revision 53221834)
1
2add_definitions(
3    -D__WINESRC__
4    -DWINE_REGISTER_DLL)
5
6include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7generate_idl_iids(qmgrprxy.idl)
8spec2def(qmgrprxy.dll qmgrprxy.spec)
9add_rpcproxy_files(qmgrprxy.idl)
10
11list(APPEND SOURCE
12    qmgrprxy.rc
13    ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_i.c
14    ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_p.c
15    ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
16    ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
17
18add_library(qmgrprxy MODULE ${SOURCE})
19set_module_type(qmgrprxy win32dll)
20target_link_libraries(qmgrprxy ${PSEH_LIB} wine)
21add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
22add_cd_file(TARGET qmgrprxy DESTINATION reactos/system32 FOR all)
23