mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 18:45:51 +00:00
0d54e35b94
Refactor IDL compilation: - Move all macros to idl-support.cmake - Make rpc proxy a static library, instead of fiddeling with SOURCE variable - Merge client and server rpc libraries into one library - Reorder global makelist file a little - Improve configure script - Improve naming, use add_* when a target is added, generate_* when only a file is generated - Don't compile wbemcli.idl on MSVC (temp hack) - Don't compile rossym on MSVC, we don't use it - Use ml64 as assembler when compiling for amd64 - fix spec2def invocation svn path=/branches/cmake-bringup/; revision=50478
25 lines
590 B
CMake
25 lines
590 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-DREGISTER_PROXY_DLL)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
generate_idl_iids(qmgrprxy.idl)
|
|
|
|
spec2def(qmgrprxy.dll qmgrprxy.spec)
|
|
|
|
list(APPEND SOURCE
|
|
version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_i.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
|
|
|
|
add_rpcproxy_library(qmgrprxylib qmgrprxy.idl)
|
|
|
|
add_library(qmgrprxy SHARED ${SOURCE})
|
|
|
|
set_module_type(qmgrprxy win32dll)
|
|
target_link_libraries(qmgrprxy qmgrprxylib ${PSEH_LIB} wine)
|
|
add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
|
|
add_cab_target(qmgrprxy 1)
|