summaryrefslogtreecommitdiff
path: root/Help/release
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2016-09-07 16:47:23 -0400
committerBrad King <brad.king@kitware.com>2016-09-08 11:33:46 -0400
commitcb299acc27d5f80b2fc801f0f57358ec9f0303d1 (patch)
treedb2426c946edfc3cd760edfc28f66a8bbedf4844 /Help/release
parentf506489d1ed222761f9ce752144a458290020e55 (diff)
downloadcmake-cb299acc27d5f80b2fc801f0f57358ec9f0303d1.tar.gz
cmake_parse_arguments: Add option to read arguments from ARGC/ARGV#
The `ARGC`/`ARGV#` variables in function scope hold the original arguments with no ;-list flattening. Add a way for functions to cleanly parse arguments that may contain `;`. This also avoids extra copying of the arguments. Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/parse_arguments_argv_n.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/parse_arguments_argv_n.rst b/Help/release/dev/parse_arguments_argv_n.rst
new file mode 100644
index 0000000000..758b72a1bf
--- /dev/null
+++ b/Help/release/dev/parse_arguments_argv_n.rst
@@ -0,0 +1,6 @@
+parse_arguments_argv_n
+----------------------
+
+* The :command:`cmake_parse_arguments` command gained a new
+ mode to read arguments directly from ``ARGC`` and ``ARGV#``
+ variables inside a :command:`function` body.