summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-05-11 18:18:40 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-05-11 18:18:40 +0000
commite4e7f57f3cd65cc8e7dc724bb9ebe5920ac4bfdd (patch)
tree7b3dadef81a65efb6c8fdfee795652f48eeda7b5 /qpid/cpp/examples
parent690e5d617c9aad8550905cf30a8380778c0f9e7a (diff)
downloadqpid-python-e4e7f57f3cd65cc8e7dc724bb9ebe5920ac4bfdd.tar.gz
Cmake fixes:
Mirrored recent management code update. Don't build failover_soak without cluster Remove some unnecessary #includes from examples git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773636 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
-rw-r--r--qpid/cpp/examples/CMakeLists.txt2
-rw-r--r--qpid/cpp/examples/xml-exchange/declare_queues.cpp1
-rw-r--r--qpid/cpp/examples/xml-exchange/listener.cpp1
-rw-r--r--qpid/cpp/examples/xml-exchange/xml_producer.cpp1
4 files changed, 2 insertions, 3 deletions
diff --git a/qpid/cpp/examples/CMakeLists.txt b/qpid/cpp/examples/CMakeLists.txt
index c8c9910466..3c906bd750 100644
--- a/qpid/cpp/examples/CMakeLists.txt
+++ b/qpid/cpp/examples/CMakeLists.txt
@@ -25,6 +25,8 @@ endif(COMMAND cmake_policy)
# This will probably need some fiddling to get right for installed kits.
get_directory_property(QPIDC_TOP PARENT_DIRECTORY)
include_directories(${QPIDC_TOP}/src ${QPIDC_TOP}/src/gen)
+include_directories( ${Boost_INCLUDE_DIR} )
+link_directories( ${Boost_LIBRARY_DIRS} )
# There are numerous duplicate names within the examples. Since all target
# names must be unique, define a macro to prepend a prefix and manage the
diff --git a/qpid/cpp/examples/xml-exchange/declare_queues.cpp b/qpid/cpp/examples/xml-exchange/declare_queues.cpp
index d3a0f539b6..ad08642019 100644
--- a/qpid/cpp/examples/xml-exchange/declare_queues.cpp
+++ b/qpid/cpp/examples/xml-exchange/declare_queues.cpp
@@ -45,7 +45,6 @@
#include <qpid/client/Connection.h>
#include <qpid/client/Session.h>
-#include <unistd.h>
#include <cstdlib>
#include <iostream>
diff --git a/qpid/cpp/examples/xml-exchange/listener.cpp b/qpid/cpp/examples/xml-exchange/listener.cpp
index 02b722c745..11bcb9f669 100644
--- a/qpid/cpp/examples/xml-exchange/listener.cpp
+++ b/qpid/cpp/examples/xml-exchange/listener.cpp
@@ -48,7 +48,6 @@
#include <qpid/client/Message.h>
#include <qpid/client/SubscriptionManager.h>
-#include <unistd.h>
#include <cstdlib>
#include <iostream>
diff --git a/qpid/cpp/examples/xml-exchange/xml_producer.cpp b/qpid/cpp/examples/xml-exchange/xml_producer.cpp
index 5cb75d0087..af1a7e60c7 100644
--- a/qpid/cpp/examples/xml-exchange/xml_producer.cpp
+++ b/qpid/cpp/examples/xml-exchange/xml_producer.cpp
@@ -49,7 +49,6 @@
#include <qpid/client/Message.h>
-#include <unistd.h>
#include <cstdlib>
#include <iostream>