Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86B0110FA8 for ; Tue, 14 Jan 2014 21:11:51 +0000 (UTC) Received: (qmail 36394 invoked by uid 500); 14 Jan 2014 21:11:51 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 36375 invoked by uid 500); 14 Jan 2014 21:11:51 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 36368 invoked by uid 99); 14 Jan 2014 21:11:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 21:11:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 21:11:49 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C7A8F23889FA; Tue, 14 Jan 2014 21:11:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1558193 - /qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt Date: Tue, 14 Jan 2014 21:11:29 -0000 To: commits@qpid.apache.org From: astitcher@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140114211129.C7A8F23889FA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: astitcher Date: Tue Jan 14 21:11:29 2014 New Revision: 1558193 URL: http://svn.apache.org/r1558193 Log: QPID-5452: Change installation directory for qpid-send/qpid-receive qpid-send/qpid/receive are useful utilities in their own right and not just used for testing so install them in an easily accessible location. Patch from Irina Boverman Modified: qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt Modified: qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt?rev=1558193&r1=1558192&r2=1558193&view=diff ============================================================================== --- qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt (original) +++ qpid/trunk/qpid/cpp/src/tests/CMakeLists.txt Tue Jan 14 21:11:29 2014 @@ -60,6 +60,18 @@ if (CMAKE_SYSTEM_NAME STREQUAL Windows) endif (CMAKE_SYSTEM_NAME STREQUAL Windows) # Some generally useful utilities that just happen to be built in the test area +add_executable (qpid-receive qpid-receive.cpp Statistics.cpp ${platform_test_additions}) +target_link_libraries (qpid-receive qpidmessaging qpidtypes qpidcommon "${Boost_PROGRAM_OPTIONS_LIBRARY}") +remember_location(qpid-receive) + +add_executable (qpid-send qpid-send.cpp Statistics.cpp ${platform_test_additions}) +target_link_libraries (qpid-send qpidmessaging qpidtypes qpidcommon "${Boost_PROGRAM_OPTIONS_LIBRARY}") +remember_location(qpid-send) + +install (TARGETS + qpid-receive qpid-send + RUNTIME DESTINATION ${QPID_INSTALL_BINDIR}) + add_executable (qpid-perftest qpid-perftest.cpp ${platform_test_additions}) target_link_libraries (qpid-perftest qpidclient qpidcommon "${Boost_PROGRAM_OPTIONS_LIBRARY}") remember_location(qpid-perftest) @@ -76,14 +88,6 @@ add_executable (qpid-ping qpid-ping.cpp target_link_libraries (qpid-ping qpidclient qpidcommon "${Boost_PROGRAM_OPTIONS_LIBRARY}") remember_location(qpid-ping) -add_executable (qpid-receive qpid-receive.cpp Statistics.cpp ${platform_test_additions}) -target_link_libraries (qpid-receive qpidmessaging qpidtypes qpidcommon "${Boost_PROGRAM_OPTIONS_LIBRARY}") -remember_location(qpid-receive) - -add_executable (qpid-send qpid-send.cpp Statistics.cpp ${platform_test_additions}) -target_link_libraries (qpid-send qpidmessaging qpidtypes qpidcommon "${Boost_PROGRAM_OPTIONS_LIBRARY}") -remember_location(qpid-send) - add_executable (qpid-topic-listener qpid-topic-listener.cpp ${platform_test_additions}) target_link_libraries (qpid-topic-listener qpidclient qpidcommon "${Boost_PROGRAM_OPTIONS_LIBRARY}") remember_location(qpid-topic-listener) @@ -109,7 +113,7 @@ remember_location(qpid-txtest) install (TARGETS qpid-perftest qpid-latency-test qpid-client-test qpid-ping - qpid-receive qpid-send qpid-topic-listener qpid-topic-publisher receiver sender + qpid-topic-listener qpid-topic-publisher receiver sender qpid-txtest RUNTIME DESTINATION ${QPID_INSTALL_TESTDIR}) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org