From bb9a7a13eee9fd74afcf6da829f478e92b8b3dce Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Fri, 29 Oct 2010 14:03:08 +0000 Subject: Add missing hello_world and hello_xml examples. Resolves QPID-2919. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028752 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/messaging/CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/cpp/examples/messaging/CMakeLists.txt b/cpp/examples/messaging/CMakeLists.txt index 31195f0cf0..03ed2daaad 100644 --- a/cpp/examples/messaging/CMakeLists.txt +++ b/cpp/examples/messaging/CMakeLists.txt @@ -45,3 +45,19 @@ add_messaging_example(map_sender) add_messaging_example(client) add_messaging_example(server) + +# These don't need Boost or OptionParser +add_executable(hello_world hello_world.cpp) +set_target_properties(hello_world PROPERTIES OUTPUT_NAME hello_world) +target_link_libraries(hello_world qpidmessaging) +install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/hello_world.cpp + DESTINATION ${QPID_INSTALL_EXAMPLESDIR}/messaging + COMPONENT ${QPID_COMPONENT_EXAMPLES}) + +add_executable(hello_xml hello_xml.cpp) +set_target_properties(hello_xml PROPERTIES OUTPUT_NAME hello_xml) +target_link_libraries(hello_xml qpidmessaging) +install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/hello_xml.cpp + DESTINATION ${QPID_INSTALL_EXAMPLESDIR}/messaging + COMPONENT ${QPID_COMPONENT_EXAMPLES}) + -- cgit v1.2.1