diff options
author | Stephen D. Huston <shuston@apache.org> | 2009-04-21 21:27:54 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2009-04-21 21:27:54 +0000 |
commit | a972ef826158ffcfd48d50f2afeff5b6f04f8c29 (patch) | |
tree | 22ce36dd892d6697bf9f27a8e69d9dc5ea3676a0 | |
parent | d9dc7bbf8ac82c1b6535d7a6b7e84b0725b4e105 (diff) | |
download | qpid-python-a972ef826158ffcfd48d50f2afeff5b6f04f8c29.tar.gz |
Add qmf and replication components
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/cmake@767302 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/CMakeLists.txt | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt index 350d44d5f5..6b6503c3df 100644 --- a/qpid/cpp/src/CMakeLists.txt +++ b/qpid/cpp/src/CMakeLists.txt @@ -541,6 +541,98 @@ set (qpidd_SOURCES add_executable (qpidd ${qpidd_SOURCES}) target_link_libraries (qpidd qpidbroker qpidcommon) +# QMF agent library +#module_hdr += \ +# qpid/agent/ManagementAgent.h \ +# qpid/agent/ManagementAgentImpl.h +set (qmfagent_SOURCES + qpid/agent/ManagementAgent.h + qpid/agent/ManagementAgentImpl.cpp + qpid/agent/ManagementAgentImpl.h + ) +add_library (qmfagent SHARED ${qmfagent_SOURCES}) +target_link_libraries (qmfagent qpidclient) +set_target_properties (qmfagent PROPERTIES + VERSION ${qpidc_version}) + +# QMF console library +#module_hdr += \ +# qpid/console/Agent.h \ +# qpid/console/Broker.h \ +# qpid/console/ClassKey.h \ +# qpid/console/ConsoleImportExport.h \ +# qpid/console/ConsoleListener.h \ +# qpid/console/Event.h \ +# qpid/console/Object.h \ +# qpid/console/ObjectId.h \ +# qpid/console/Package.h \ +# qpid/console/Schema.h \ +# qpid/console/SequenceManager.h \ +# qpid/console/SessionManager.h \ +# qpid/console/Value.h +set (qmfconsole_SOURCES + qpid/console/Agent.h + qpid/console/Agent.cpp + qpid/console/Broker.h + qpid/console/Broker.cpp + qpid/console/ClassKey.h + qpid/console/ClassKey.cpp + qpid/console/ConsoleImportExport.h + qpid/console/ConsoleListener.h + qpid/console/Event.h + qpid/console/Event.cpp + qpid/console/Object.h + qpid/console/Object.cpp + qpid/console/ObjectId.h + qpid/console/ObjectId.cpp + qpid/console/Package.h + qpid/console/Package.cpp + qpid/console/Schema.h + qpid/console/Schema.cpp + qpid/console/SequenceManager.h + qpid/console/SequenceManager.cpp + qpid/console/SessionManager.h + qpid/console/SessionManager.cpp + qpid/console/Value.h + qpid/console/Value.cpp + ) +add_library (qmfconsole SHARED ${qmfconsole_SOURCES}) +target_link_libraries (qmfconsole qpidclient) +set_target_properties (qmfconsole PROPERTIES + VERSION ${qpidc_version}) + +# A queue event listener plugin that creates messages on a replication +# queue corresponding to enqueue and dequeue events: +add_library (replicating_listener SHARED + qpid/replication/constants.h + qpid/replication/ReplicatingEventListener.cpp + qpid/replication/ReplicatingEventListener.h + ) +target_link_libraries (replicating_listener qpidbroker) +set_target_properties (replicating_listener PROPERTIES + VERSION ${qpidc_version}) +if (CMAKE_COMPILER_IS_GNUCXX) + set_target_properties(replicating_listener PROPERTIES + LINK_FLAGS -Wl,--no-undefined) +endif (CMAKE_COMPILER_IS_GNUCXX) + +# A custom exchange plugin that allows an exchange to be created that +# can process the messages from a replication queue (populated on the +# source system by the replicating listener plugin above) and take the +# corresponding action on the local queues +add_library (replicating_exchange SHARED + qpid/replication/constants.h + qpid/replication/ReplicationExchange.cpp + qpid/replication/ReplicationExchange.h + ) +target_link_libraries (replicating_exchange qpidbroker) +set_target_properties (replicating_exchange PROPERTIES + VERSION ${qpidc_version}) +if (CMAKE_COMPILER_IS_GNUCXX) + set_target_properties(replicating_exchange PROPERTIES + LINK_FLAGS -Wl,--no-undefined) +endif (CMAKE_COMPILER_IS_GNUCXX) + # add_subdirectory(tests) # Now create the config file from all the info learned above. |