diff options
author | Brad King <brad.king@kitware.com> | 2013-10-21 16:49:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-21 16:54:20 (GMT) |
commit | 4e184a21beda9de3703ecda94085c234f5bbd7da (patch) | |
tree | e127479207d0d9677d1713ba1eb08f6d26b3a768 /Help/command/string.rst | |
parent | 9fb65d7090ca314cd8bfd88e52fefa6905938a6d (diff) | |
download | CMake-4e184a21beda9de3703ecda94085c234f5bbd7da.zip CMake-4e184a21beda9de3703ecda94085c234f5bbd7da.tar.gz CMake-4e184a21beda9de3703ecda94085c234f5bbd7da.tar.bz2 |
string: Add CONCAT sub-command
Add a string(CONCAT) command to simply concatenate input arguments
together. This will be useful for combining strings from different
quoting syntaxes. Add a RunCMake.string test covering these cases.
Diffstat (limited to 'Help/command/string.rst')
-rw-r--r-- | Help/command/string.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst index 1e18ca6..af18825 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(CONCAT <output variable> [<input>...]) string(<MD5|SHA1|SHA224|SHA256|SHA384|SHA512> <output variable> <input>) string(COMPARE EQUAL <string1> <string2> <output variable>) @@ -51,6 +52,9 @@ through argument parsing. REPLACE will replace all occurrences of match_string in the input with replace_string and store the result in the output. +CONCAT will concatenate all the input arguments together and store +the result in the named output variable. + MD5, SHA1, SHA224, SHA256, SHA384, and SHA512 will compute a cryptographic hash of the input string. |