[Cmake-commits] CMake branch, master, updated. v3.14.1-608-g8c28e63

Kitware Robot kwrobot at kitware.com
Thu Apr 4 12:53:02 EDT 2019


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, master has been updated
       via  8c28e63cb4da99dbb894573a996c27e260b5baeb (commit)
       via  78ac8cb04a0723b10a9225e97a9e04c126a38a99 (commit)
      from  56abc31270cbe60845021107383f1cede0ed075e (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=8c28e63cb4da99dbb894573a996c27e260b5baeb
commit 8c28e63cb4da99dbb894573a996c27e260b5baeb
Merge: 56abc31 78ac8cb
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Apr 4 16:51:34 2019 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Thu Apr 4 12:51:41 2019 -0400

    Merge topic 'if-EXISTS-doc'
    
    78ac8cb04a Help: clarify if(EXISTS) operation for symlinks
    
    Acked-by: Kitware Robot <kwrobot at kitware.com>
    Merge-request: !3189


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=78ac8cb04a0723b10a9225e97a9e04c126a38a99
commit 78ac8cb04a0723b10a9225e97a9e04c126a38a99
Author:     Shoaib Meenai <smeenai at fb.com>
AuthorDate: Wed Apr 3 17:25:52 2019 -0700
Commit:     Shoaib Meenai <smeenai at fb.com>
CommitDate: Wed Apr 3 17:25:52 2019 -0700

    Help: clarify if(EXISTS) operation for symlinks
    
    if(EXISTS) resolves symlinks; note this explicitly in its documentation.

diff --git a/Help/command/if.rst b/Help/command/if.rst
index a48a0fa..b79fd6c 100644
--- a/Help/command/if.rst
+++ b/Help/command/if.rst
@@ -88,7 +88,9 @@ Possible conditions are:
 
 ``if(EXISTS path-to-file-or-directory)``
  True if the named file or directory exists.  Behavior is well-defined
- only for full paths.
+ only for full paths. Resolves symbolic links, i.e. if the named file or
+ directory is a symbolic link, returns true if the target of the
+ symbolic link exists.
 
 ``if(file1 IS_NEWER_THAN file2)``
  True if ``file1`` is newer than ``file2`` or if one of the two files doesn't

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

Summary of changes:
 Help/command/if.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list