[Cmake-commits] CMake branch, next, updated. v3.1.0-rc2-1069-ga9d6a09

Brad King brad.king at kitware.com
Wed Dec 3 10:08:47 EST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  a9d6a0926705062ac183f8fab1cfa14b900a70b4 (commit)
       via  ff50046b78e23f8d8f23ea8b44dc1012edb0d792 (commit)
      from  2ddda7bae332030814b8f17cef9f4ff41209c8e6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a9d6a0926705062ac183f8fab1cfa14b900a70b4
commit a9d6a0926705062ac183f8fab1cfa14b900a70b4
Merge: 2ddda7b ff50046
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Dec 3 10:08:46 2014 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Dec 3 10:08:46 2014 -0500

    Merge topic 'FindUnixCommands-use-FPHSA' into next
    
    ff50046b FindUnixCommand: Use FPHSA to report status in standard way


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ff50046b78e23f8d8f23ea8b44dc1012edb0d792
commit ff50046b78e23f8d8f23ea8b44dc1012edb0d792
Author:     Christoph Grüninger <foss at grueninger.de>
AuthorDate: Wed Dec 3 14:35:37 2014 +0100
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Dec 3 10:04:59 2014 -0500

    FindUnixCommand: Use FPHSA to report status in standard way
    
    Otherwise the UnixCommands were marked as not found in the summary.
    Also revise the documentation.

diff --git a/Modules/FindUnixCommands.cmake b/Modules/FindUnixCommands.cmake
index d4e5dcd..869ba38 100644
--- a/Modules/FindUnixCommands.cmake
+++ b/Modules/FindUnixCommands.cmake
@@ -2,12 +2,13 @@
 # FindUnixCommands
 # ----------------
 #
-# Find unix commands from cygwin
+# Find Unix commands, including the ones from Cygwin
 #
-# This module looks for some usual Unix commands.
+# This module looks for the Unix commands bash, cp, gzip, mv, rm, and tar
+# and stores the result in the variables BASH, CP, GZIP, MV, RM, and TAR.
 
 #=============================================================================
-# Copyright 2001-2009 Kitware, Inc.
+# Copyright 2001-2014 Kitware, Inc.
 #
 # Distributed under the OSI-approved BSD License (the "License");
 # see accompanying file Copyright.txt for details.
@@ -95,3 +96,8 @@ find_program(TAR
 mark_as_advanced(
   TAR
 )
+
+include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
+find_package_handle_standard_args(UnixCommands
+  REQUIRED_VARS BASH CP GZIP MV RM TAR
+)

-----------------------------------------------------------------------

Summary of changes:
 Modules/FindUnixCommands.cmake |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list