diff options
author | Kim van der Riet <kpvdr@apache.org> | 2013-02-28 16:14:30 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2013-02-28 16:14:30 +0000 |
commit | 9c73ef7a5ac10acd6a50d5d52bd721fc2faa5919 (patch) | |
tree | 2a890e1df09e5b896a9b4168a7b22648f559a1f2 /cpp/examples/messaging/CMakeLists.txt | |
parent | 172d9b2a16cfb817bbe632d050acba7e31401cd2 (diff) | |
download | qpid-python-asyncstore.tar.gz |
Update from trunk r1375509 through r1450773asyncstore
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/CMakeLists.txt')
-rw-r--r-- | cpp/examples/messaging/CMakeLists.txt | 24 |
1 files changed, 20 insertions, 4 deletions
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}) |