summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-11-11 14:31:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-11-11 14:31:55 (GMT)
commit7791f16cfb0c4c0b2a5dd225427e551568f3b7ac (patch)
tree804450b18671e42f231fa825d56221be52e946ff
parent0d182c02f615b7d593edfcfe096f92b1a3e5e81e (diff)
parentc0e05671d38a6d2af73388ec46ab7d539f89c59b (diff)
downloadCMake-7791f16cfb0c4c0b2a5dd225427e551568f3b7ac.zip
CMake-7791f16cfb0c4c0b2a5dd225427e551568f3b7ac.tar.gz
CMake-7791f16cfb0c4c0b2a5dd225427e551568f3b7ac.tar.bz2
Merge topic 'get_filename_component-clarification' into release-3.19
c0e05671d3 Help/get_filename_component: clarify NAME_W[L]E summaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5489
-rw-r--r--Help/command/get_filename_component.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst
index 368d3bb..ea2dedb 100644
--- a/Help/command/get_filename_component.rst
+++ b/Help/command/get_filename_component.rst
@@ -14,9 +14,9 @@ Sets ``<var>`` to a component of ``<FileName>``, where ``<mode>`` is one of:
DIRECTORY = Directory without file name
NAME = File name without directory
EXT = File name longest extension (.b.c from d/a.b.c)
- NAME_WE = File name without directory or longest extension
+ NAME_WE = File name with neither the directory nor the longest extension
LAST_EXT = File name last extension (.c from d/a.b.c)
- NAME_WLE = File name without directory or last extension
+ NAME_WLE = File name with neither the directory nor the last extension
PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11)
Paths are returned with forward slashes and have no trailing slashes.