summaryrefslogtreecommitdiffstats
path: root/Help/command/get_filename_component.rst
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)
commitc966c71956a41345cf5c2feba799005129b2adda (patch)
tree3c5df54316c8e00bef2046c08131ae3845b4a693 /Help/command/get_filename_component.rst
parente31ccdd4c4547d74ac9c8694e2d08b692f2b6fbd (diff)
parentc0e05671d38a6d2af73388ec46ab7d539f89c59b (diff)
downloadCMake-c966c71956a41345cf5c2feba799005129b2adda.zip
CMake-c966c71956a41345cf5c2feba799005129b2adda.tar.gz
CMake-c966c71956a41345cf5c2feba799005129b2adda.tar.bz2
Merge topic 'get_filename_component-clarification'
c0e05671d3 Help/get_filename_component: clarify NAME_W[L]E summaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5489
Diffstat (limited to 'Help/command/get_filename_component.rst')
-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 35ffbb3..546e353 100644
--- a/Help/command/get_filename_component.rst
+++ b/Help/command/get_filename_component.rst
@@ -19,9 +19,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)
.. versionadded:: 3.14