Commit 8c28e63c authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'if-EXISTS-doc'

78ac8cb0 Help: clarify if(EXISTS) operation for symlinks
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3189
parents 56abc312 78ac8cb0
Pipeline #133986 passed with stage
in 0 seconds
...@@ -88,7 +88,9 @@ Possible conditions are: ...@@ -88,7 +88,9 @@ Possible conditions are:
``if(EXISTS path-to-file-or-directory)`` ``if(EXISTS path-to-file-or-directory)``
True if the named file or directory exists. Behavior is well-defined 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)`` ``if(file1 IS_NEWER_THAN file2)``
True if ``file1`` is newer than ``file2`` or if one of the two files doesn't True if ``file1`` is newer than ``file2`` or if one of the two files doesn't
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment