Author: chug
Date: Fri Oct 10 17:51:23 2014
New Revision: 1630945

URL: http://svn.apache.org/r1630945
Log:
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.


Modified:
    qpid/trunk/qpid/cpp/examples/messaging/CMakeLists.txt
    qpid/trunk/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt

Modified: qpid/trunk/qpid/cpp/examples/messaging/CMakeLists.txt
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/examples/messaging/CMakeLists.txt?rev=1630945&r1=1630944&r2=1630945&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/examples/messaging/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/examples/messaging/CMakeLists.txt Fri Oct 10 17:51:23 
2014
@@ -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

Modified: qpid/trunk/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt?rev=1630945&r1=1630944&r2=1630945&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/examples/messaging/extra_dist/CMakeLists.txt Fri Oct 10 
17:51:23 2014
@@ -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)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to