summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'all-verify-interface-header-sets'Kyle Edwards2022-08-032-0/+20
|\ | | | | | | | | | | | | 83e44002ae VERIFY_INTERFACE_HEADER_SETS: Add verification target for all Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7536
| * VERIFY_INTERFACE_HEADER_SETS: Add verification target for allKyle Edwards2022-08-032-0/+20
| | | | | | | | Fixes: #23802
| * Merge topic 'vs-msbuild-arm64' into release-3.24Brad King2022-08-021-1/+1
| |\ | | | | | | | | | | | | | | | | | | c165dd6a83 VS: Fix ARM64 host architecture detection in x86 binary Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7525
* | \ Merge topic 'try_compile-cleanup'Brad King2022-08-034-525/+396
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b427d8da9 cmCoreTryCompile: Port to cmArgumentParser 067ba3a2bd cmCoreTryCompile: Move target type selection logic to try_compile 781e1b191a cmCoreTryCompile: Simplify TryCompileCode return type 3218ea60de Tests: Add RunCMake.try_compile case for try_run-only args b8e551ed32 Tests: Add RunCMake.try_run cases for missing keyword arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7531
| * | | cmCoreTryCompile: Port to cmArgumentParserBrad King2022-08-024-490/+356
| | | |
| * | | cmCoreTryCompile: Move target type selection logic to try_compileBrad King2022-08-024-25/+30
| | | | | | | | | | | | | | | | | | | | This is specific to `try_compile` since `try_run` always needs an executable. Move the logic out of the common code path.
| * | | cmCoreTryCompile: Simplify TryCompileCode return typeBrad King2022-08-023-28/+28
| | | | | | | | | | | | | | | | The return value is only used as a boolean, so use `bool`.
* | | | Merge topic 'cpp-named-module-support-msvc'Brad King2022-08-035-9/+408
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4f95e6b284 ci: test BMI exporting and installation with GCC in CI c49d5f137b RunCMake/CXXModules: add a "deep-chain" test 297e0f4dce cmCxxModuleMapper: support MSVC module map format b3c2880cb2 cmCxxModuleMapper: track transitive modules for MSVC a43713d615 CTestCustom: ignore `cm::optional` uninitialized memory false positive b90de0b492 RunCMake/CXXModules: support MSVC extensions a84c186a7d cmScanDepFormat: support the MSVC 17.3 toolchain temporarily d7f5064ff7 cmScanDepFormat: support P1689R5 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7481
| * | | | cmCxxModuleMapper: support MSVC module map formatBen Boeckel2022-08-023-3/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | THis is a set of flags stored in a response file which informs the compiler about where to place output BMI files as well as find the required BMIs.
| * | | | cmCxxModuleMapper: track transitive modules for MSVCBen Boeckel2022-08-023-6/+278
| | | | | | | | | | | | | | | | | | | | MSVC needs the transitive closure of module usage to compile.
| * | | | cmScanDepFormat: support the MSVC 17.3 toolchain temporarilyBen Boeckel2022-08-021-0/+22
| | | | | | | | | | | | | | | | | | | | At least until 17.4 is out.
| * | | | cmScanDepFormat: support P1689R5Ben Boeckel2022-07-262-0/+20
| | | | | | | | | | | | | | | | | | | | This adds the `is-interface` key on provides fields.
* | | | | Merge topic 'cuda_add_lto_support'Brad King2022-08-0313-34/+114
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 96bc59b1ca CUDA: Add Device LTO support for nvcc 1527d48cd0 CheckIPO: Refactor logic selecting test source files 4a552ab4ad remove unused variables 6eda92d037 remove unused variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7389
| * | | | | CUDA: Add Device LTO support for nvccRobert Maynard2022-07-2212-32/+114
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #22200
| * | | | | remove unused variablesRobert Maynard2022-07-131-1/+0
| | | | | |
| * | | | | remove unused variableRobert Maynard2022-07-131-1/+0
| | | | | |
* | | | | | Merge topic 'find_package-refactor-path-generation'Brad King2022-08-032-679/+572
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2f69c0233c cmFindPackageCommand: Optimize the last calls to `TryGeneratedPaths` 076a4b44b0 cmFindPackageCommand: Path generators are actually reusable 664abd486f cmFindPackageCommand: Better names for template parameters c862797a40 cmFindPackageCommand: Rename some generators fdd14b1744 cmFindPackageCommand: Deduplicate directory listing code 08e7fb3cfa cmFindPackageCommand: Compile-time path generator expressions 61eb5d4de5 cmFindPackageCommand: Avoid friendship between command class and generator ef62f213f8 cmFindPackageCommand: Drop dead code ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7445
| * | | | | | cmFindPackageCommand: Optimize the last calls to `TryGeneratedPaths`Alex Turbov2022-08-021-18/+6
| | | | | | |
| * | | | | | cmFindPackageCommand: Path generators are actually reusableAlex Turbov2022-08-021-76/+40
| | | | | | |
| * | | | | | cmFindPackageCommand: Better names for template parametersAlex Turbov2022-08-021-14/+17
| | | | | | |
| * | | | | | cmFindPackageCommand: Rename some generatorsAlex Turbov2022-08-021-72/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point is that `cmFileListBlahBlahGenerator` actually "generate" directory names and never files. The `cmBlahBlahStringGenerators` produce paths in fact. Ok, paths nowadays are also strings but...
| * | | | | | cmFindPackageCommand: Deduplicate directory listing codeAlex Turbov2022-08-021-65/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `cmFileListGeneratorProject` and `cmFileListGeneratorMacProject` was look very similar 'cept few lines. Now they have a base class and the generator-specific logic has moved to overrides.
| * | | | | | cmFindPackageCommand: Compile-time path generator expressionsAlex Turbov2022-08-021-496/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original code had path generators built at run-time using a linked list of dynamically allocated nodes each of which was responsible to generate a path segment. However, the combination of used generators is totally well known at compile time.
| * | | | | | cmFindPackageCommand: Avoid friendship between command class and generatorAlex Turbov2022-07-112-23/+34
| | | | | | |
| * | | | | | cmFindPackageCommand: Drop dead codeAlex Turbov2022-07-111-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `cmFindPackageFileList` instances always constructed w/ the only parameter. The boolean flag is always `true` (default value). Also, `cmFindPackageCommand::InitialPass` adds an empty string to the `cmFindPackageCommand::SearchPathSuffixes` vector. Meaning that `cmFindPackageCommand::CheckDirectory()` gonna be called for the suffix-less path, so `cmFindPackageFileList::Visit` may call only `cmFindPackageCommand::SearchDirectory` and get the same result.
| * | | | | | cmFindPackageCommand: Move methods implementation into the class definitionAlex Turbov2022-07-111-25/+18
| | | | | | |
| * | | | | | cmFindPackageCommand: Drop redundant `std::ostream::operator<<` callsAlex Turbov2022-07-111-9/+8
| | | | | | |
| * | | | | | cmFindPackageCommand: Use `vector` instead of `set` to store arg indicesAlex Turbov2022-07-111-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are unique by design. I.e., when the algorithm iterates over args doing only one push per iteration indices gonna be unique ;-) So, no need for `std::set` here.
| * | | | | | cmFindPackageCommand: Move comment inside the `else if` blockAlex Turbov2022-07-111-4/+3
| | | | | | |
| * | | | | | cmFindPackageCommand: Named lambda w/o capture to normal functionAlex Turbov2022-07-111-12/+12
| | | | | | |
| * | | | | | cmFindPackageCommand: ConstnessAlex Turbov2022-07-111-62/+66
| | | | | | |
| * | | | | | cmFindPackageCommand: Enclose file list generators into anonymous nsAlex Turbov2022-07-111-22/+27
| | | | | | |
| * | | | | | cmFindPackageCommand: Move `cmFindPackageCommandHoldFile` to anonymous nsAlex Turbov2022-07-111-29/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, avoid `#include` in the middle of the module.
| * | | | | | cmFindPackageCommand: Move `collectPathsForDebug()` to anonymous namespaceAlex Turbov2022-07-111-15/+15
| | | | | | |
| * | | | | | cmFindPackageCommand: Deduplicate version string comparator codeAlex Turbov2022-07-111-18/+15
| | | | | | |
| * | | | | | cmFindPackageCommand: Replace empty string literal w/ default `std::string{}`Alex Turbov2022-07-111-1/+1
| | | | | | |
| * | | | | | cmFindPackageCommand: Simplify if-return-else-return into single return stmtAlex Turbov2022-07-111-7/+1
| | | | | | |
| * | | | | | cmFindPackageCommand: Replace `strcmp` with array subscriptionAlex Turbov2022-07-111-2/+3
| | | | | | |
| * | | | | | cmFindPackageCommand: Deduplicate code to exclude `.` and `..` dir entriesAlex Turbov2022-07-111-3/+10
| | | | | | |
| * | | | | | cmFindPackageCommand: Replace single-char string literals with char literalsAlex Turbov2022-07-111-3/+3
| | | | | | |
| * | | | | | cmFindPackageCommand: Use `std::any_of` instead of "manual" `for` loopsAlex Turbov2022-07-111-24/+16
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2022-08-031-1/+1
| | | | | | |
* | | | | | | Merge topic 'cmgeneratedfs-absolute-paths'Brad King2022-08-021-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b02ef99fea cmGeneratedFileStream: Use absolute paths Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7524
| * | | | | | | cmGeneratedFileStream: Use absolute pathsMartin Duffy2022-08-011-3/+3
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use absolute paths in cmGeneratedFileStream to ensure output can be found if the working directory changes. Fixes: #23784
* | | | | | | Merge topic 'vs-msbuild-arm64'Brad King2022-08-021-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c165dd6a83 VS: Fix ARM64 host architecture detection in x86 binary Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7525
| * | | | | | VS: Fix ARM64 host architecture detection in x86 binaryAnton Lapounov2022-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the 64-bit registry view when we check whether Windows has the ARM64 version of the .NET Framework 4.x installed. Issue: #23755
* | | | | | | Merge topic 'windows-symlink-dir'Brad King2022-08-021-12/+2
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4f1c0fac8 Windows: Revert "Prefer junctions for directory symlinks" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7530
| * | | | | | Windows: Revert "Prefer junctions for directory symlinks"Brad King2022-08-011-12/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 5101d586c4 (Windows: Prefer junctions for directory symlinks, 2022-02-22, v3.24.0-rc1~575^2). Junctions do not support `../` and other non-canonical paths. Revert their use pending further investigation. Fixes: #23781 Issue: #23257
| * | | | | CMake 3.24.0-rc5v3.24.0-rc5Brad King2022-07-281-1/+1
| | | | | |
| * | | | | Merge topic 'verify-interface-header-sets-interface-library-source-language' ↵Brad King2022-07-281-0/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into release-3.24 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