mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-03 22:30:29 +00:00
string: add APPEND subcommand
This commit is contained in:
committed by
Brad King
parent
7e86f567ac
commit
2b18cdcaba
@@ -15,6 +15,7 @@ String operations.
|
||||
string(REPLACE <match_string>
|
||||
<replace_string> <output variable>
|
||||
<input> [<input>...])
|
||||
string(APPEND <string variable> [<input>...])
|
||||
string(CONCAT <output variable> [<input>...])
|
||||
string(<MD5|SHA1|SHA224|SHA256|SHA384|SHA512>
|
||||
<output variable> <input>)
|
||||
@@ -55,6 +56,8 @@ through argument parsing.
|
||||
``REPLACE`` will replace all occurrences of ``match_string`` in the input
|
||||
with ``replace_string`` and store the result in the output.
|
||||
|
||||
``APPEND`` will append all the input arguments to the string.
|
||||
|
||||
``CONCAT`` will concatenate all the input arguments together and store
|
||||
the result in the named output variable.
|
||||
|
||||
|
||||
4
Help/release/dev/string-append.rst
Normal file
4
Help/release/dev/string-append.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
string-append
|
||||
-------------
|
||||
|
||||
* The :command:`string` command learned a new ``APPEND`` subcommand.
|
||||
Reference in New Issue
Block a user