summaryrefslogtreecommitdiffstats
path: root/Help/command/string.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-03-18 15:21:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-03-31 21:18:44 (GMT)
commit28e1d2f8fc08516e8fc3a009777437d3e086b8e6 (patch)
tree6706855db40e1726ad1d5e29bf8c763c7286156e /Help/command/string.rst
parentbf98cc252f18e761ed9a57d2f7a9304bfbb621de (diff)
downloadCMake-28e1d2f8fc08516e8fc3a009777437d3e086b8e6.zip
CMake-28e1d2f8fc08516e8fc3a009777437d3e086b8e6.tar.gz
CMake-28e1d2f8fc08516e8fc3a009777437d3e086b8e6.tar.bz2
cmStringCommand: Add GENEX_STRIP subcommand.
Strip out any generator expressions in the input string.
Diffstat (limited to 'Help/command/string.rst')
-rw-r--r--Help/command/string.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index af18825..abde6ee 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -35,6 +35,7 @@ String operations.
string(FIND <string> <substring> <output variable> [REVERSE])
string(TIMESTAMP <output variable> [<format string>] [UTC])
string(MAKE_C_IDENTIFIER <input string> <output variable>)
+ string(GENEX_STRIP <input string> <output variable>)
REGEX MATCH will match the regular expression once and store the match
in the output variable.
@@ -154,3 +155,7 @@ If no explicit <format string> is given it will default to:
MAKE_C_IDENTIFIER will write a string which can be used as an
identifier in C.
+
+``GENEX_STRIP`` will strip any
+:manual:`generator expressions <cmake-generator-expressions(7)>` from the
+``input string`` and store the result in the ``output variable``.