summaryrefslogtreecommitdiff
path: root/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
commit2ea122316b1093392a90df48a6e662838f9c522d (patch)
tree3786c2abe4c9dbf9ebdc7555f30d139087189fc2 /cpp/examples
parenta1b440e5393206ec5833e2d6c2617c2aca71701f (diff)
downloadqpid-python-2ea122316b1093392a90df48a6e662838f9c522d.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/qpid@773636 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples')
-rw-r--r--cpp/examples/CMakeLists.txt2
-rw-r--r--cpp/examples/xml-exchange/declare_queues.cpp1
-rw-r--r--cpp/examples/xml-exchange/listener.cpp1
-rw-r--r--cpp/examples/xml-exchange/xml_producer.cpp1
4 files changed, 2 insertions, 3 deletions
diff --git a/cpp/examples/CMakeLists.txt b/cpp/examples/CMakeLists.txt
index c8c9910466..3c906bd750 100644
--- a/cpp/examples/CMakeLists.txt
+++ b/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/cpp/examples/xml-exchange/declare_queues.cpp b/cpp/examples/xml-exchange/declare_queues.cpp
index d3a0f539b6..ad08642019 100644
--- a/cpp/examples/xml-exchange/declare_queues.cpp
+++ b/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/cpp/examples/xml-exchange/listener.cpp b/cpp/examples/xml-exchange/listener.cpp
index 02b722c745..11bcb9f669 100644
--- a/cpp/examples/xml-exchange/listener.cpp
+++ b/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/cpp/examples/xml-exchange/xml_producer.cpp b/cpp/examples/xml-exchange/xml_producer.cpp
index 5cb75d0087..af1a7e60c7 100644
--- a/cpp/examples/xml-exchange/xml_producer.cpp
+++ b/cpp/examples/xml-exchange/xml_producer.cpp
@@ -49,7 +49,6 @@
#include <qpid/client/Message.h>
-#include <unistd.h>
#include <cstdlib>
#include <iostream>