summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmArgumentParser: Generalize expected argument countBrad King2022-07-272-33/+51
| | | | Replace the boolean expectation with an integer count.
* cmArgumentParser: Generalize internal state trackingBrad King2022-07-272-24/+52
| | | | Use a `std::function` to support general actions on value arguments.
* cmArgumentParser: Propagate constructors through binding wrapper typesBrad King2022-07-272-0/+54
|
* Merge topic 'command-arg-parser'Brad King2022-07-267-58/+102
|\ | | | | | | | | | | | | | | | | | | | | | | | | 2eba10c5ee cmArgumentParser: Drop unused parsedKeywords argument to Parse() 98cf623821 cmCTestHandlerCommand: Capture list of parsed keywords via binding 6ecd741b5f cmFileCommand: Capture list of parsed keywords via binding f7e81802f2 cmArgumentParser: Offer binding for list of parsed keywords f95a5832c7 cmArgumentParser: Drop unused keywordsMissingValue argument to Parse() 9a7efb6813 cmArgumentParser: Offer private binding to cmParseArgumentsCommand Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7508
| * cmArgumentParser: Drop unused parsedKeywords argument to Parse()Brad King2022-07-252-19/+9
| | | | | | | | All clients have been ported to use a binding instead.
| * cmCTestHandlerCommand: Capture list of parsed keywords via bindingBrad King2022-07-252-5/+9
| |
| * cmFileCommand: Capture list of parsed keywords via bindingBrad King2022-07-251-7/+8
| |
| * cmArgumentParser: Offer binding for list of parsed keywordsBrad King2022-07-253-0/+50
| | | | | | | | | | Some clients ask for this list in their `Parse()` call. Offer them a way to express this request as a binding.
| * cmArgumentParser: Drop unused keywordsMissingValue argument to Parse()Brad King2022-07-255-35/+13
| | | | | | | | | | All clients have been converted to encoding this requirement in their bindings.
| * cmArgumentParser: Offer private binding to cmParseArgumentsCommandBrad King2022-07-253-1/+22
| | | | | | | | | | | | | | | | The `keywordsMissingValue` argument to `Parse()` is now needed only for the `cmake_parse_arguments` result `_KEYWORDS_MISSING_VALUES`. Offer its implementation a private binding for this. Our internal clients can use `ArgumentParser::NonEmpty<>` and friends to enforce the presence of values.
* | Merge branch 'release-3.24'Brad King2022-07-260-0/+0
|\ \
| * \ Merge topic 'refactor-win-ver' into release-3.24Brad King2022-07-263-31/+52
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | ee047a68f2 cmSystemTools: Factor out method to get Windows OS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7509
* | \ \ Merge topic 'refactor-win-ver'Brad King2022-07-263-31/+52
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | ee047a68f2 cmSystemTools: Factor out method to get Windows OS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7509
| * | | cmSystemTools: Factor out method to get Windows OS versionBrad King2022-07-253-31/+52
| | | | | | | | | | | | | | | | Factor the implementation out of `cmGlobalGenerator`.
* | | | Merge branch 'release-3.24'Brad King2022-07-260-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'doc-if-PATH_EQUAL' into release-3.24Brad King2022-07-262-9/+15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37e01773e4 Help: Clarify behavior of path-based equality conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7503
* | \ \ \ Merge topic 'doc-if-PATH_EQUAL'Brad King2022-07-262-9/+15
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 37e01773e4 Help: Clarify behavior of path-based equality conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7503
| * | | | Help: Clarify behavior of path-based equality conditionsCraig Scott2022-07-242-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs for if(PATH_EQUAL) did not mention the component-wise nature of the checks. It also claimed no normalization was performed, but multiple separators are effectively collapsed (part of normalization). Improve the wording to clarify both of these points. Also update the corresponding description of cmake_path(COMPARE), which had the same inaccuracy. Fixes: #23758
* | | | | Merge branch 'release-3.24'Brad King2022-07-260-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'verify-interface-header-sets-interface-libraries' into release-3.24Brad King2022-07-261-7/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5dd1817d1 Help: Clarify that VERIFY_INTERFACE_HEADER_SETS supports interface libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7507
* | \ \ \ \ Merge topic 'verify-interface-header-sets-interface-libraries'Brad King2022-07-261-7/+7
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | f5dd1817d1 Help: Clarify that VERIFY_INTERFACE_HEADER_SETS supports interface libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7507
| * | | | | Help: Clarify that VERIFY_INTERFACE_HEADER_SETS supports interface librariesKyle Edwards2022-07-251-7/+7
| | | | | |
* | | | | | Merge branch 'release-3.24'Brad King2022-07-260-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'FindVulkan-relnotes' into release-3.24Brad King2022-07-262-4/+27
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b538e4002 FindVulkan: Add missing 3.24 release notes db66c384fc FindVulkan: Format component documentation as definition list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7502
* | | | | | Merge topic 'FindVulkan-relnotes'Brad King2022-07-262-6/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b141445f8f FindVulkan: Move dxc component docs into definition list 96573aec1c Merge branch 'backport-3.24-FindVulkan-relnotes' 0b538e4002 FindVulkan: Add missing 3.24 release notes db66c384fc FindVulkan: Format component documentation as definition list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7502
| * | | | | | FindVulkan: Move dxc component docs into definition listBrad King2022-07-251-4/+5
| | | | | | |
| * | | | | | Merge branch 'backport-3.24-FindVulkan-relnotes'Brad King2022-07-252-4/+27
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | / | | |_|_|_|/ | |/| | | |
| | * | | | FindVulkan: Add missing 3.24 release notesMACHIZAUD Andréa2022-07-252-0/+7
| | | | | |
| | * | | | FindVulkan: Format component documentation as definition listBrad King2022-07-251-4/+20
| | | |/ / | | |/| |
* | | | | CMake Nightly Date StampKitware Robot2022-07-261-1/+1
|/ / / /
* | | | Merge branch 'release-3.24'Brad King2022-07-250-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'doc-find_package-BYPASS_PROVIDER' into release-3.24Brad King2022-07-252-3/+13
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 4f7a0c25d2 Help: Document BYPASS_PROVIDER keyword for find_package() 76370e06b8 Help: Minor grammar fix for the Using Dependencies manual Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7501
* | | | Merge topic 'doc-find_package-BYPASS_PROVIDER'Brad King2022-07-252-3/+13
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 4f7a0c25d2 Help: Document BYPASS_PROVIDER keyword for find_package() 76370e06b8 Help: Minor grammar fix for the Using Dependencies manual Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7501
| * | | Help: Document BYPASS_PROVIDER keyword for find_package()Craig Scott2022-07-231-2/+12
| | | | | | | | | | | | Fixes: #23669
| * | | Help: Minor grammar fix for the Using Dependencies manualCraig Scott2022-07-231-1/+1
| | |/ | |/|
* | | Merge branch 'release-3.24'Brad King2022-07-250-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'cmake-help-flags-after-dashdash' into release-3.24Brad King2022-07-254-4/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 14a0e750cb cmake: In -P mode ignore flags like `--version` after `--` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7496
* | \ \ Merge topic 'cmake-help-flags-after-dashdash'Brad King2022-07-254-4/+6
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 14a0e750cb cmake: In -P mode ignore flags like `--version` after `--` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7496
| * | | cmake: In -P mode ignore flags like `--version` after `--`Robert Maynard2022-07-224-4/+6
| | | | | | | | | | | | | | | | Fixes: #21031
* | | | Merge branch 'release-3.24'Brad King2022-07-250-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'release-3.23' into release-3.24Brad King2022-07-250-0/+0
| |\ \ \
* | \ \ \ Merge branch 'release-3.23'Brad King2022-07-250-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'backport-3.23-cmake-P-path-args' into release-3.23Brad King2022-07-224-18/+22
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !7494
* | \ \ \ \ Merge branch 'release-3.24'Brad King2022-07-250-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge topic 'cmake-P-path-args' into release-3.24Brad King2022-07-254-13/+23
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | febe3190f0 Merge branch 'backport-3.23-cmake-P-path-args' 846a650ff7 cmake: In -P mode ignore extra paths on the command line c362cba566 cmake: simplify to a single source of truth of working mode 261fa5db39 cmake: In -P mode ignore extra paths on the command line 314135cdf1 cmake: simplify to a single source of truth of working mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7494
* | | | | | Merge topic 'cmake-P-path-args'Brad King2022-07-254-13/+23
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | febe3190f0 Merge branch 'backport-3.23-cmake-P-path-args' 846a650ff7 cmake: In -P mode ignore extra paths on the command line c362cba566 cmake: simplify to a single source of truth of working mode 261fa5db39 cmake: In -P mode ignore extra paths on the command line 314135cdf1 cmake: simplify to a single source of truth of working mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7494
| * | | | | Merge branch 'backport-3.23-cmake-P-path-args'Brad King2022-07-220-0/+0
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | cmake: In -P mode ignore extra paths on the command lineRobert Maynard2022-07-224-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23748
| | * | | | cmake: simplify to a single source of truth of working modeRobert Maynard2022-07-221-17/+7
| | | |/ / | | |/| |
| * | | | cmake: In -P mode ignore extra paths on the command lineRobert Maynard2022-07-224-1/+15
| | | | | | | | | | | | | | | | | | | | Fixes: #23748