2010-12-24 14:25:10 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DREGISTER_PROXY_DLL)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2011-01-24 18:13:40 +00:00
|
|
|
generate_idl_iids(qmgrprxy.idl)
|
2010-12-24 14:25:10 +00:00
|
|
|
|
|
|
|
spec2def(qmgrprxy.dll qmgrprxy.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
version.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_i.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
|
|
|
|
|
2011-01-24 18:13:40 +00:00
|
|
|
add_rpcproxy_library(qmgrprxylib qmgrprxy.idl)
|
2010-12-24 14:25:10 +00:00
|
|
|
|
2010-12-29 18:28:34 +00:00
|
|
|
add_library(qmgrprxy SHARED ${SOURCE})
|
|
|
|
|
2010-12-24 14:25:10 +00:00
|
|
|
set_module_type(qmgrprxy win32dll)
|
2011-01-24 18:13:40 +00:00
|
|
|
target_link_libraries(qmgrprxy qmgrprxylib ${PSEH_LIB} wine)
|
2010-12-24 14:25:10 +00:00
|
|
|
add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
|
|
|
|
add_cab_target(qmgrprxy 1)
|