diff options
| author | Charles E. Rolke <chug@apache.org> | 2014-10-10 17:51:23 +0000 |
|---|---|---|
| committer | Charles E. Rolke <chug@apache.org> | 2014-10-10 17:51:23 +0000 |
| commit | 85995048882d47fc7187d4b167ca581ec0f33ab9 (patch) | |
| tree | 0d1468d5394c884fd2628ac20857ba409a7878ec /qpid/cpp/examples | |
| parent | b300aa1ecbdc9ba93b3f3cb4880b3821aeef894d (diff) | |
| download | qpid-python-85995048882d47fc7187d4b167ca581ec0f33ab9.tar.gz | |
QPID-6140: [C++ Messaging] hello_world does not define Messaging i/f completely
Add qpidtypes to hello_world and hello_xml example link library list so that
users can execute any Messaging function straight away.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1630945 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
| -rw-r--r-- | qpid/cpp/examples/messaging/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/examples/messaging/CMakeLists.txt b/qpid/cpp/examples/messaging/CMakeLists.txt index 5481f2f0bf..40f9412189 100644 --- a/qpid/cpp/examples/messaging/CMakeLists.txt +++ b/qpid/cpp/examples/messaging/CMakeLists.txt @@ -54,14 +54,14 @@ add_messaging_example(server_reconnect) # 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) +target_link_libraries(hello_world qpidmessaging qpidtypes) 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) +target_link_libraries(hello_xml qpidmessaging qpidtypes) install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/extra_dist/CMakeLists.txt diff --git a/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt b/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt index 88df55337c..be44adaedb 100644 --- a/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt +++ b/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt @@ -55,8 +55,8 @@ 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) +target_link_libraries(hello_world qpidmessaging qpidtypes) add_executable(hello_xml hello_xml.cpp) set_target_properties(hello_xml PROPERTIES OUTPUT_NAME hello_xml) -target_link_libraries(hello_xml qpidmessaging) +target_link_libraries(hello_xml qpidmessaging qpidtypes) |
