summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2015-07-06 20:28:04 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-07 13:23:21 (GMT)
commit2b18cdcaba48ffeee753d97d8241dbf2a8333493 (patch)
tree6f87bea38ccac379a746d349179824f802fef30e /Help
parent7e86f567aca6b913689dc2d8c17a17936284b811 (diff)
downloadCMake-2b18cdcaba48ffeee753d97d8241dbf2a8333493.zip
CMake-2b18cdcaba48ffeee753d97d8241dbf2a8333493.tar.gz
CMake-2b18cdcaba48ffeee753d97d8241dbf2a8333493.tar.bz2
string: add APPEND subcommand
Diffstat (limited to 'Help')
-rw-r--r--Help/command/string.rst3
-rw-r--r--Help/release/dev/string-append.rst4
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst
index 34c1b61..bc4399c 100644
--- a/Help/command/string.rst
+++ b/Help/command/string.rst
@@ -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.
diff --git a/Help/release/dev/string-append.rst b/Help/release/dev/string-append.rst
new file mode 100644
index 0000000..190b51e
--- /dev/null
+++ b/Help/release/dev/string-append.rst
@@ -0,0 +1,4 @@
+string-append
+-------------
+
+* The :command:`string` command learned a new ``APPEND`` subcommand.