2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
2013-06-16 11:11:48 +00:00
|
|
|
-DWINE_REGISTER_DLL)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
generate_idl_iids(qmgrprxy.idl)
|
|
|
|
|
|
|
|
spec2def(qmgrprxy.dll qmgrprxy.spec)
|
|
|
|
|
2011-08-07 00:53:19 +00:00
|
|
|
add_rpcproxy_files(qmgrprxy.idl)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
2013-06-16 11:11:48 +00:00
|
|
|
qmgrprxy.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_i.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_p.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
|
|
|
|
|
|
|
|
add_library(qmgrprxy SHARED ${SOURCE})
|
|
|
|
|
|
|
|
set_module_type(qmgrprxy win32dll)
|
|
|
|
target_link_libraries(qmgrprxy ${PSEH_LIB} wine)
|
|
|
|
add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET qmgrprxy DESTINATION reactos/system32 FOR all)
|