diff options
author | Brad King <brad.king@kitware.com> | 2015-07-08 13:21:52 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-08 13:21:52 (GMT) |
commit | c66d232c9c138dcf54f5314aafb7ab32590b106d (patch) | |
tree | f62c5afa282b5e94fc5844f5d869e641078bae13 /Help | |
parent | 0d457c319934e6f321b838ea58ad4365e41f6f0b (diff) | |
parent | 2b18cdcaba48ffeee753d97d8241dbf2a8333493 (diff) | |
download | CMake-c66d232c9c138dcf54f5314aafb7ab32590b106d.zip CMake-c66d232c9c138dcf54f5314aafb7ab32590b106d.tar.gz CMake-c66d232c9c138dcf54f5314aafb7ab32590b106d.tar.bz2 |
Merge topic 'string-append'
2b18cdca string: add APPEND subcommand
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/string.rst | 3 | ||||
-rw-r--r-- | Help/release/dev/string-append.rst | 4 |
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. |