[UMPNPMGR] Improve some DPRINTS and PNP_CreateKey
[reactos.git] / dll / win32 / qmgrprxy / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -DWINE_REGISTER_DLL)
5
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 generate_idl_iids(qmgrprxy.idl)
8 spec2def(qmgrprxy.dll qmgrprxy.spec)
9 add_rpcproxy_files(qmgrprxy.idl)
10
11 list(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
18 add_library(qmgrprxy MODULE ${SOURCE})
19 set_module_type(qmgrprxy win32dll)
20 target_link_libraries(qmgrprxy ${PSEH_LIB} wine)
21 add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
22 add_cd_file(TARGET qmgrprxy DESTINATION reactos/system32 FOR all)