summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandLineArgument.h
Commit message (Collapse)AuthorAgeFilesLines
* cmCommandLineArgument: OneOrMore mode supports `=` separatorRobert Maynard2021-05-191-30/+45
| | | | Fixes #22187
* cmCommandLineArgument: Understands which commands require partial matchingRobert Maynard2021-05-191-2/+46
| | | | | Allows us to provide better error messages when commands such as `--target` are passed invalid input.
* Merge topic 'cmake_build_and_install_command_error_when_given_bad_arguments'Brad King2021-05-141-9/+6
|\ | | | | | | | | | | | | | | | | f78b167a23 cmCommandLineArgument: Provide more information syntax error messages 5aa0dec6b0 cmake: `--build` and `--install` error out when encountering bad flags 928cdb17c5 cmCommandLineArgument: Correctly record parsing failures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6119
| * cmCommandLineArgument: Provide more information syntax error messagesRobert Maynard2021-05-131-3/+4
| |
| * cmCommandLineArgument: Correctly record parsing failuresRobert Maynard2021-05-121-6/+2
| |
* | Merge topic 'correct_arg_parsing'Brad King2021-03-291-5/+9
|\ \ | |/ | | | | | | | | | | 79d7bcaf40 cmCommandLineArgument: correctly compute next parse index Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5936
| * cmCommandLineArgument: correctly compute next parse indexRobert Maynard2021-03-261-5/+9
| | | | | | | | | | | | | | Fixes #21966 Correctly compute the next parse index for `ZeroOrOne` when it is zero, and for OneOrMore.
* | cmCommandLineArgument: trim leading empty spacesRobert Maynard2021-03-091-0/+4
|/
* cmCommandLineArgument now supports OneOrMore argument typeRobert Maynard2021-01-061-0/+18
|
* cmCommandLineArgument supports ZeroOrOne argumentsRobert Maynard2021-01-061-2/+10
| | | | This allows us to parse command line arguments such as `-j` || `-j2`
* cmake: Use shared parsing code for all cmake argv parsingRobert Maynard2021-01-061-0/+133