diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-07-11 10:07:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-11 10:07:26 (GMT) |
commit | 24722b7860ebab15baaf124b84378d323494813e (patch) | |
tree | 17e68347c46d510abd2153535e61bfc31a97a511 /Help | |
parent | 7c98e2d1ad35610c51b6604a6476b365ccb0c05d (diff) | |
parent | c65f296960c7d464c57e5d48abecdcadd6258190 (diff) | |
download | CMake-24722b7860ebab15baaf124b84378d323494813e.zip CMake-24722b7860ebab15baaf124b84378d323494813e.tar.gz CMake-24722b7860ebab15baaf124b84378d323494813e.tar.bz2 |
Merge topic 'docs-file-GLOB-case-sensitivity'
c65f296960 Help: Mention file(GLOB)'s case-sensitivity
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3516
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/file.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst index 666a532..c06451a 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -503,6 +503,11 @@ regular expressions, but much simpler. If ``RELATIVE`` flag is specified, the results will be returned as relative paths to the given path. The results will be ordered lexicographically. +On Windows and macOS, globbing is case-insensitive even if the underlying +filesystem is case-sensitive (both filenames and globbing expressions are +converted to lowercase before matching). On other platforms, globbing is +case-sensitive. + If the ``CONFIGURE_DEPENDS`` flag is specified, CMake will add logic to the main build system check target to rerun the flagged ``GLOB`` commands at build time. If any of the outputs change, CMake will regenerate the build |