[Cmake-commits] CMake branch, next, updated. v3.4.3-2106-gde3d01c
Brad King
brad.king at kitware.com
Wed Jan 27 09:28:17 EST 2016
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 de3d01c33142da1213335e5d6159a9c61d749db5 (commit)
via fa78ee97ff30cc066a620cacdfe4144852947dc4 (commit)
via facfb52c9fe36c172c4aa21b40c5886efa28e0ae (commit)
via 30e294f68fb78a4d813fa0f9df668e543e4cf991 (commit)
via e7eab0ec40f19a1fc81920bdd0dcf356a5b362d4 (commit)
from cec1388c39796ee79c39c4119e6546cb69a2f65e (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 -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=de3d01c33142da1213335e5d6159a9c61d749db5
commit de3d01c33142da1213335e5d6159a9c61d749db5
Merge: cec1388 fa78ee9
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Jan 27 09:28:17 2016 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Jan 27 09:28:17 2016 -0500
Merge topic 'FindGit-updates' into next
fa78ee97 FindGit: Improve documentation formatting
facfb52c FindGit: Document Git_FOUND, unset internal var
30e294f6 CMake Nightly Date Stamp
e7eab0ec CMake Nightly Date Stamp
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fa78ee97ff30cc066a620cacdfe4144852947dc4
commit fa78ee97ff30cc066a620cacdfe4144852947dc4
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Jan 27 09:23:48 2016 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Jan 27 09:26:27 2016 -0500
FindGit: Improve documentation formatting
diff --git a/Modules/FindGit.cmake b/Modules/FindGit.cmake
index 363ab87..d18f965 100644
--- a/Modules/FindGit.cmake
+++ b/Modules/FindGit.cmake
@@ -2,19 +2,18 @@
# FindGit
# -------
#
-#
-#
# The module defines the following variables:
#
-# ::
-#
-# GIT_EXECUTABLE - path to Git command line client
-# Git_FOUND / GIT_FOUND - true if the Git command line client was found
-# GIT_VERSION_STRING - the version of Git found
+# ``GIT_EXECUTABLE``
+# Path to Git command-line client.
+# ``Git_FOUND``, ``GIT_FOUND``
+# True if the Git command-line client was found.
+# ``GIT_VERSION_STRING``
+# The version of Git found.
#
# Example usage:
#
-# ::
+# .. code-block:: cmake
#
# find_package(Git)
# if(Git_FOUND)
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=facfb52c9fe36c172c4aa21b40c5886efa28e0ae
commit facfb52c9fe36c172c4aa21b40c5886efa28e0ae
Author: Christoph Grüninger <foss at grueninger.de>
AuthorDate: Tue Jan 26 21:53:16 2016 +0100
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Jan 27 09:21:56 2016 -0500
FindGit: Document Git_FOUND, unset internal var
* Git is called Git, not git.
* FindGit sets Git_FOUND, too.
* Unset internal variable git_names
diff --git a/Modules/FindGit.cmake b/Modules/FindGit.cmake
index 2c3e5fd..363ab87 100644
--- a/Modules/FindGit.cmake
+++ b/Modules/FindGit.cmake
@@ -8,21 +8,21 @@
#
# ::
#
-# GIT_EXECUTABLE - path to git command line client
-# GIT_FOUND - true if the command line client was found
-# GIT_VERSION_STRING - the version of git found (since CMake 2.8.8)
+# GIT_EXECUTABLE - path to Git command line client
+# Git_FOUND / GIT_FOUND - true if the Git command line client was found
+# GIT_VERSION_STRING - the version of Git found
#
# Example usage:
#
# ::
#
# find_package(Git)
-# if(GIT_FOUND)
-# message("git found: ${GIT_EXECUTABLE}")
+# if(Git_FOUND)
+# message("Git found: ${GIT_EXECUTABLE}")
# endif()
#=============================================================================
-# Copyright 2010 Kitware, Inc.
+# Copyright 2010-2016 Kitware, Inc.
# Copyright 2012 Rolf Eike Beer <eike at sf-mail.de>
#
# Distributed under the OSI-approved BSD License (the "License");
@@ -57,10 +57,11 @@ find_program(GIT_EXECUTABLE
NAMES ${git_names}
PATHS ${github_path} ${_git_sourcetree_path}
PATH_SUFFIXES Git/cmd Git/bin
- DOC "git command line client"
+ DOC "Git command line client"
)
mark_as_advanced(GIT_EXECUTABLE)
+unset(git_names)
unset(_git_sourcetree_path)
if(GIT_EXECUTABLE)
@@ -74,7 +75,7 @@ if(GIT_EXECUTABLE)
unset(git_version)
endif()
-# Handle the QUIETLY and REQUIRED arguments and set GIT_FOUND to TRUE if
+# Handle the QUIETLY and REQUIRED arguments and set Git_FOUND to TRUE if
# all listed variables are TRUE
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
-----------------------------------------------------------------------
Summary of changes:
Modules/FindGit.cmake | 26 +++++++++++++-------------
Source/CMakeVersion.cmake | 2 +-
2 files changed, 14 insertions(+), 14 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list