summaryrefslogtreecommitdiff
path: root/cpp/src/amqp.cmake
diff options
context:
space:
mode:
authorCharles E. Rolke <chug@apache.org>2013-10-04 17:41:50 +0000
committerCharles E. Rolke <chug@apache.org>2013-10-04 17:41:50 +0000
commite912527ed58694a40ee615f6dcda0e52968e1e8a (patch)
tree1dc05667a7bd07e846b0206e5e46cae406130a74 /cpp/src/amqp.cmake
parentb8c27487e3a4dfcdd301bb5fdd63ba3b4dde44f1 (diff)
downloadqpid-python-e912527ed58694a40ee615f6dcda0e52968e1e8a.tar.gz
QPID-5115: AMQP 1.0 client support built in to qpidmessaging for all platforms
This commit disposes of the amqpc library and moves the functions into the qpidmessaging library. Now any client that loads qpidmessaging gets amqp0-10 and amqp1.0 selectable through the connection protocol option. C++ brokers still must load the amqp library to enable 1.0 support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1529235 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/amqp.cmake')
-rw-r--r--cpp/src/amqp.cmake13
1 files changed, 4 insertions, 9 deletions
diff --git a/cpp/src/amqp.cmake b/cpp/src/amqp.cmake
index 133fb5c051..52316d22b3 100644
--- a/cpp/src/amqp.cmake
+++ b/cpp/src/amqp.cmake
@@ -163,15 +163,6 @@ if (BUILD_AMQP)
qpid/messaging/amqp/TcpTransport.h
qpid/messaging/amqp/TcpTransport.cpp
)
- add_library (amqpc MODULE ${amqpc_SOURCES})
- target_link_libraries (amqpc qpidmessaging qpidtypes qpidclient qpidcommon ${PROTON_LIBRARIES})
- set_target_properties (amqpc PROPERTIES
- PREFIX ""
- LINK_FLAGS "${CATCH_UNDEFINED}")
-
- install (TARGETS amqpc
- DESTINATION ${QPIDC_MODULE_DIR}
- COMPONENT ${QPID_COMPONENT_CLIENT})
if (WIN32)
set(proton_dll "${PROTON_LIBRARY_DIRS}/${PROTON_LIBRARIES}.dll")
@@ -186,4 +177,8 @@ if (BUILD_AMQP)
COMPONENT ${QPID_COMPONENT_COMMON}
CONFIGURATIONS Debug)
endif (WIN32)
+else (BUILD_AMQP)
+ # ensure that qpid build ignores proton
+ UNSET( amqpc_SOURCES )
+ UNSET( PROTON_LIBRARIES )
endif (BUILD_AMQP)