mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
Help/get_filename_component: clarify NAME_W[L]E summaries
There was an ambiguity in the wording with the meaning of "or" typically meaning exclusive-or in prose. Instead, ensure that the easiest parsing is clear that the directory part is always removed.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user