From 9c73ef7a5ac10acd6a50d5d52bd721fc2faa5919 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Thu, 28 Feb 2013 16:14:30 +0000 Subject: Update from trunk r1375509 through r1450773 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/messaging/CMakeLists.txt | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'cpp/examples/messaging/CMakeLists.txt') diff --git a/cpp/examples/messaging/CMakeLists.txt b/cpp/examples/messaging/CMakeLists.txt index 03ed2daaad..25651e525b 100644 --- a/cpp/examples/messaging/CMakeLists.txt +++ b/cpp/examples/messaging/CMakeLists.txt @@ -26,9 +26,13 @@ macro(add_messaging_example example) target_link_libraries(${example} qpidmessaging ${_boost_libs_needed}) # For installs, don't install the built example; that would be pointless. # Install the things a user needs to build the example on-site. - install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${example}.cpp ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.h ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.cpp - DESTINATION ${QPID_INSTALL_EXAMPLESDIR}/messaging - COMPONENT ${QPID_COMPONENT_EXAMPLES}) + install (FILES + ${CMAKE_CURRENT_SOURCE_DIR}/${example}.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.h + ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.cpp + DESTINATION ${QPID_INSTALL_EXAMPLESDIR}/messaging + COMPONENT ${QPID_COMPONENT_EXAMPLES}) + if (MSVC) install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/messaging_${example}.vcproj DESTINATION ${QPID_INSTALL_EXAMPLESDIR}/messaging @@ -57,7 +61,19 @@ install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/hello_world.cpp 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 + +install (FILES + ${CMAKE_CURRENT_SOURCE_DIR}/extra_dist/CMakeLists.txt + ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/OptionParser.h + ${CMAKE_CURRENT_SOURCE_DIR}/hello_world.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/hello_xml.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/drain.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/spout.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/map_receiver.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/map_sender.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/client.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/server.cpp DESTINATION ${QPID_INSTALL_EXAMPLESDIR}/messaging COMPONENT ${QPID_COMPONENT_EXAMPLES}) -- cgit v1.2.1