summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/cmake_parse_arguments/ArgvN.cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake_parse_arguments: Add additional unit testsMatthew Woehlke2016-09-281-12/+2
| | | | Add additional unit tests for some corner cases in argument splitting.
* cmake_parse_arguments: Fix PARSE_ARGV multi-value argument handlingMatthew Woehlke2016-09-281-2/+20
| | | | | | | | | The `PARSE_ARGV` mode was recently added to help functions properly parse their arguments even when those arguments may be quoted and contain literal `;` in their values. Fix the implementation to encode `;`s in reported multi-value arguments and in `UNPARSED_ARGUMENTS` so that `;`s in the individual values are preserved in the lists. This allows clients to access all their argument values correctly.
* cmake_parse_arguments: Add option to read arguments from ARGC/ARGV#Bill Hoffman2016-09-081-0/+30
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>