summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | cmArgumentParser: Model non-empty strings with wrapper typeBrad King2022-07-283-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some clients have been explicitly checking whether the string specified after a keyword is empty. Offer them a way to specify that the string must be non-empty as part of the binding type.
* | | | | | | | Merge topic 'ms-tool-dash-flags'Brad King2022-07-293-7/+17
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9dbcfb8fdd MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7519
| * | | | | | | | MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command linesDubach, Joev2022-07-273-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23772
* | | | | | | | | CMake Nightly Date StampKitware Robot2022-07-291-1/+1
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge topic 'command-arg-parser'Brad King2022-07-283-43/+289
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 236bacc244 cmArgumentParser: Offer bindings for positional arguments 1f2eb63d1c cmArgumentParser: Add callback bindings f5d2f6076a cmArgumentParser: Generalize expected argument count 078e2aec8f cmArgumentParser: Generalize internal state tracking 77fcb00a2b cmArgumentParser: Propagate constructors through binding wrapper types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7514
| * | | | | | | | cmArgumentParser: Offer bindings for positional argumentsBrad King2022-07-272-11/+80
| | | | | | | | |
| * | | | | | | | cmArgumentParser: Add callback bindingsBrad King2022-07-271-0/+91
| | | | | | | | |
| * | | | | | | | 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-271-0/+40
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge topic 'verify-interface-header-sets-interface-library-source-language'Brad King2022-07-281-0/+6
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41f15193e5 VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7517
| * | | | | | | VERIFY_INTERFACE_HEADER_SETS: Fall back to global languagesKyle Edwards2022-07-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a target doesn't have any source files, fall back to the global list of enabled languages to determine the language of the header file to verify. Fixes: #23774
* | | | | | | | Merge topic 'verify-interface-header-sets-add-compile-definitions'Brad King2022-07-284-29/+62
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27fd172d8d VERIFY_INTERFACE_HEADER_SETS: Finalize compile info for verify targets 626e641a19 cmTarget: Factor out FinalizeTargetCompileInfo() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7516
| * | | | | | | VERIFY_INTERFACE_HEADER_SETS: Finalize compile info for verify targetsKyle Edwards2022-07-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23732
| * | | | | | | cmTarget: Factor out FinalizeTargetCompileInfo()Kyle Edwards2022-07-273-29/+56
| |/ / / / / /
* | | | | | | Merge topic 'vs-msbuild-arm64'Brad King2022-07-281-36/+90
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 418fd85569 VS: Detect ARM64 host architecture at runtime Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Tommy Vercetti <tommyvct@outlook.com> Acked-by: Anton Lapounov <anton.lapounov@microsoft.com> Merge-request: !7511
| * | | | | | VS: Detect ARM64 host architecture at runtimeBrad King2022-07-271-36/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use the host machine's architecture to select the `MSBuild.exe` binary variant, and the host toolset architecture. When CMake is compiled as `x64` or `x86` it may still run on ARM64 hosts. Detect the actual architecture of the host at runtime instead of relying on the architecture of CMake's own binary. The `arm64/MSBuild.exe` executable is an ARM64 .NET 4 application, which requires the ARM64 version of .NET Framework 4.8.1 to be installed on the machine. That version is not yet released for Windows 10; however, the `MSBuild/Current/Bin/arm64` directory is still created when installing Visual Studio 2022 (a user may upgrade to Windows 11 later). Use it only if the .NET Framework is installed. The `amd64/MSBuild.exe` executable cannot run on Windows 10 ARM64, but can run on Windows 11 ARM64. Fixes: #23755
* | | | | | | CMake Nightly Date StampKitware Robot2022-07-281-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'try_compile-cleanup'Brad King2022-07-277-139/+136
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e1d4984706 Tests: Add RunCMake.try_compile case covering empty value arguments 6a85813806 Tests: Add RunCMake.try_compile case covering list arguments with no values 7a5b1b6010 cmCoreTryCompile: Select source-file signature project/target names earlier 8b0ee799e4 cmCoreTryCompile: Compute src-file signature build directory earlier e73c8eaff2 cmTry{Compile,Run}Command: Port away from legacy cmCommand 7ba3a3290f try_compile: Refactor positional arg parsing 31ee3cd49d try_compile: Fail earlier when bindir is not an absolute path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7513
| * | | | | | cmCoreTryCompile: Select source-file signature project/target names earlierBrad King2022-07-261-8/+10
| | | | | | |
| * | | | | | cmCoreTryCompile: Compute src-file signature build directory earlierBrad King2022-07-261-7/+6
| | | | | | |
| * | | | | | cmTry{Compile,Run}Command: Port away from legacy cmCommandBrad King2022-07-266-117/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert the command entry points to free functions.
| * | | | | | try_compile: Refactor positional arg parsingBrad King2022-07-261-7/+14
| | | | | | |
| * | | | | | try_compile: Fail earlier when bindir is not an absolute pathBrad King2022-07-261-0/+16
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | If the bindir is not an absolute path, other errors occur later. Fail early with a clear error in this case.
* | | | | | Merge topic 'vs-fuzzer'Brad King2022-07-272-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feeb9ae4ba VS: Add support for (lib)fuzzer /fsanitize=fuzzer flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7471
| * | | | | | VS: Add support for (lib)fuzzer /fsanitize=fuzzer flagFredrik Claesson2022-07-132-0/+10
| | |_|_|_|/ | |/| | | |
* | | | | | CMake Nightly Date StampKitware Robot2022-07-271-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'command-arg-parser'Brad King2022-07-266-41/+72
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-252-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-254-18/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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 topic 'cmake-help-flags-after-dashdash' into release-3.24Brad King2022-07-251-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14a0e750cb cmake: In -P mode ignore flags like `--version` after `--` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7496
| * \ \ \ \ Merge topic 'cmake-P-path-args' into release-3.24Brad King2022-07-251-13/+10
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'revert-vs-ZERO_CHECK-proj' into release-3.24Brad King2022-07-254-251/+34
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 289932ded0 VS: Revert "Write ZERO_CHECK.proj for VS19 and above" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7499
* | | | | | | | CMake Nightly Date StampKitware Robot2022-07-261-1/+1
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Merge topic 'cmake-help-flags-after-dashdash'Brad King2022-07-251-1/+1
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-221-1/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Fixes: #21031
* | | | | | Merge topic 'cmake-P-path-args'Brad King2022-07-251-13/+10
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | cmake: In -P mode ignore extra paths on the command lineRobert Maynard2022-07-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23748
| * | | | | cmake: simplify to a single source of truth of working modeRobert Maynard2022-07-221-12/+8
| | | | | |
* | | | | | Merge topic 'revert-vs-ZERO_CHECK-proj'Brad King2022-07-254-251/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26b724cf2b Merge branch 'backport-3.24-revert-vs-ZERO_CHECK-proj' 289932ded0 VS: Revert "Write ZERO_CHECK.proj for VS19 and above" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7499
| * \ \ \ \ \ Merge branch 'backport-3.24-revert-vs-ZERO_CHECK-proj'Brad King2022-07-224-251/+34
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
| | * | | | | VS: Revert "Write ZERO_CHECK.proj for VS19 and above"Brad King2022-07-224-251/+34
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit a334f1b906 (VS: Write ZERO_CHECK.proj for VS19 and above, 2021-12-24, v3.24.0-rc1~607^2) and a supporting change from commit 7219988b00 (VS: Exclude ZERO_CHECK.proj from .sln for include_external_msproject, 2022-07-15, v3.24.0-rc4~1^2). The change was made to support `dotnet` tooling in addition to `msbuild`. However, not having `ZERO_CHECK` in the `.sln` breaks common interactive workflows. Revert the change for now. Later it can be re-introduced behind some kind of option that enables `dotnet` support. Fixes: #23726 Issue: #20227
* | | | | | Merge topic 'revert-ui-check'Brad King2022-07-251-16/+12
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 778aaf6fdc AUTOUIC: Revert "Fix internal paths of generated ui_foo.h files" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7498
| * | | | | AUTOUIC: Revert "Fix internal paths of generated ui_foo.h files"Brad King2022-07-221-16/+12
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 10668f26c9 (AUTOUIC: Fix internal paths of generated ui_foo.h files, 2022-05-21, v3.24.0-rc3~20^2). It broke some existing projects that use more than one `.ui` file of the same name. Fixes: #23759 Issue: #23523