diff options
| author | Gordon Sim <gsim@apache.org> | 2010-05-14 17:53:26 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-05-14 17:53:26 +0000 |
| commit | 3b2c06e6d041487bef584267f80a3cc04008cef9 (patch) | |
| tree | d2850f1f1aaa99ea30298b951cc162fc5d212a72 /cpp/examples/messaging | |
| parent | 564e4b671d48cdc2f2c2806631c98bf9612007ea (diff) | |
| download | qpid-python-3b2c06e6d041487bef584267f80a3cc04008cef9.tar.gz | |
QPID-664: separate out the messaging API into its own library
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging')
| -rw-r--r-- | cpp/examples/messaging/CMakeLists.txt | 10 | ||||
| -rw-r--r-- | cpp/examples/messaging/Makefile.am | 4 | ||||
| -rw-r--r-- | cpp/examples/messaging/extra_dist/Makefile | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/cpp/examples/messaging/CMakeLists.txt b/cpp/examples/messaging/CMakeLists.txt index c962f4d065..31195f0cf0 100644 --- a/cpp/examples/messaging/CMakeLists.txt +++ b/cpp/examples/messaging/CMakeLists.txt @@ -23,7 +23,7 @@ macro(add_messaging_example example) add_executable(${example} ${example}.cpp OptionParser.cpp) set_target_properties(${example} PROPERTIES OUTPUT_NAME ${example}) - target_link_libraries(${example} qpidclient ${_boost_libs_needed}) + target_link_libraries(${example} qpidmessaging ${_boost_libs_needed}) # For installs, don't install the built example; that would be pointless. # Install the things a user needs to build the example on-site. install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${example}.cpp ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.h ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.cpp @@ -40,8 +40,8 @@ endmacro(add_messaging_example) add_messaging_example(drain) add_messaging_example(spout) -add_example(messaging map_receiver) -add_example(messaging map_sender) +add_messaging_example(map_receiver) +add_messaging_example(map_sender) -add_example(messaging client) -add_example(messaging server) +add_messaging_example(client) +add_messaging_example(server) diff --git a/cpp/examples/messaging/Makefile.am b/cpp/examples/messaging/Makefile.am index 1f5f2ede2a..298d65e6f1 100644 --- a/cpp/examples/messaging/Makefile.am +++ b/cpp/examples/messaging/Makefile.am @@ -21,8 +21,8 @@ examplesdir=$(pkgdatadir)/examples/messaging # Settings to build the examples in automake AM_CXXFLAGS = $(WARNING_CFLAGS) INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -CLIENT_LIB=$(top_builddir)/src/libqpidclient.la -CLIENTFLAGS=-lqpidclient +CLIENT_LIB=$(top_builddir)/src/libqpidmessaging.la +CLIENTFLAGS=-lqpidmessaging noinst_PROGRAMS=drain spout client server map_sender map_receiver hello_world hello_xml diff --git a/cpp/examples/messaging/extra_dist/Makefile b/cpp/examples/messaging/extra_dist/Makefile index 8f8be352b4..9b8d07ec80 100644 --- a/cpp/examples/messaging/extra_dist/Makefile +++ b/cpp/examples/messaging/extra_dist/Makefile @@ -1,6 +1,6 @@ CXX=g++ CXXFLAGS=-g -O2 -LDFLAGS=-lqpidclient +LDFLAGS=-lqpidmessaging all: drain spout client server map_sender map_receiver hello_world |
