summaryrefslogtreecommitdiffstats
path: root/Help/command/cmake_parse_arguments.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix code example in cmake_parse_arguments.rstKai Wolf2018-02-041-1/+1
|
* Help: Fix cmake_parse_arguments behavior for not found argumentsSylvain Joubert2017-10-201-10/+13
| | | | | Value keywords are actually UNDEFINED rather than set to the empty string when they are not found in the argument list.
* cmake_parse_arguments: Add option to read arguments from ARGC/ARGV#Bill Hoffman2016-09-081-0/+11
| | | | | | | | | 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>
* cmake_parse_arguments: consider duplicate keyword as warningMatthias Maennich2015-12-171-0/+7
| | | | | | The behaviour of double specified keywords is rather undefined or at least not clearly documented. This change introduces a strict check and emits a warning in case a keyword has been specified more than once.
* CMakeParseArguments: replace by native cmake_parse_arguments commandMatthias Maennich2015-12-171-0/+78
Implement a native `cmake_parse_arguments` command that is fully compatible with the documented behaviour of the previous implementation. Leave the CMakeParseArguments module empty but existing for compatibility.