summaryrefslogtreecommitdiffstats
path: root/Help/command/get_filename_component.rst
diff options
context:
space:
mode:
authorTushar Maheshwari <tushar27192@gmail.com>2019-01-24 17:11:22 (GMT)
committerTushar Maheshwari <tushar27192@gmail.com>2019-01-24 17:11:22 (GMT)
commit7a25ef326bc53293f2dd288a7c092b4080658821 (patch)
tree4bb22cafb6bb3220e29b1e76dbdbec048084e2cd /Help/command/get_filename_component.rst
parente50a36df488be05dfbc85005c88ec8d4c5314a76 (diff)
downloadCMake-7a25ef326bc53293f2dd288a7c092b4080658821.zip
CMake-7a25ef326bc53293f2dd288a7c092b4080658821.tar.gz
CMake-7a25ef326bc53293f2dd288a7c092b4080658821.tar.bz2
Help: Add documentation for new get_filename_component components
Diffstat (limited to 'Help/command/get_filename_component.rst')
-rw-r--r--Help/command/get_filename_component.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst
index 3e3c9c3..f55499a 100644
--- a/Help/command/get_filename_component.rst
+++ b/Help/command/get_filename_component.rst
@@ -15,6 +15,8 @@ Sets ``<var>`` to a component of ``<FileName>``, where ``<mode>`` is one of:
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
+ LAST_EXT = File name last extention (.c from d/a.b.c)
+ NAME_WLE = File name without directory or last extension
PATH = Legacy alias for DIRECTORY (use for CMake <= 2.8.11)
Paths are returned with forward slashes and have no trailing slashes.