diff options
author | Stephen D. Huston <shuston@apache.org> | 2010-10-29 14:03:08 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2010-10-29 14:03:08 +0000 |
commit | bb9a7a13eee9fd74afcf6da829f478e92b8b3dce (patch) | |
tree | 4e0af9fd5bbd08141a15b37e025d7eaab64e9ee8 | |
parent | e5f27778179696429e4212611c6e5454e2a63e99 (diff) | |
download | qpid-python-bb9a7a13eee9fd74afcf6da829f478e92b8b3dce.tar.gz |
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
-rw-r--r-- | cpp/examples/messaging/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
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}) + |