summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindMatlab-version' into release-3.28Brad King2023-12-141-4/+4
|\ | | | | | | | | | | | | ef64c118de FindMatlab: Fix regression on Windows Registry lookup failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9070
| * FindMatlab: Fix regression on Windows Registry lookup failureBrad King2023-12-141-4/+4
| | | | | | | | | | | | | | | | Fix logic from commit dc9d9589e4 (FindMatlab:WIN32: return full Matlab version when found via registry, 2023-09-14, v3.28.0-rc1~82^2~2) to avoid assuming that a registry entry always exists and is non-empty. Fixes: #25497
* | Merge topic 'Find-CONFIG-chain-fixes' into release-3.28Brad King2023-12-142-14/+99
|\ \ | |/ |/| | | | | | | | | | | | | | | 581acbce52 FindTIFF: consider `IMPLIB`-using platforms e8e7d9f775 FindTIFF: always find the config module quietly a575bebf0d FindFreetype: also consider RelWithDebInfo-built libraries d892dedf22 FindFreetype: always find the config module quietly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9068
| * FindTIFF: consider `IMPLIB`-using platformsBen Boeckel2023-12-131-4/+75
| | | | | | | | | | | | | | | | | | Support multi-config-providing and `IMPLIB`-using deployments with the `tiff-config` trampoline code. Follow the pattern used in `FindFreetype` by commit ae9890cd36 (FindFreeType: consider `IMPLIB`-using platforms, 2023-10-26, v3.28.0-rc4~10^2~3). See: #25485
| * FindTIFF: always find the config module quietlyBen Boeckel2023-12-131-5/+8
| | | | | | | | | | | | | | | | When the config module is not present, a spurious "tiff not found" is output before the pre-existing logic is used. Instead, silence the module and use FPHSA to report as-if `TIFF` did the search. Fixes: #25485
| * FindFreetype: also consider RelWithDebInfo-built librariesBen Boeckel2023-12-131-0/+6
| |
| * FindFreetype: always find the config module quietlyBen Boeckel2023-12-131-5/+10
|/ | | | | | | | When the config module is not present, a spurious "freetype not found" is output before the pre-existing logic is used. Instead, silence the module and use FPHSA to report as-if `Freetype` did the search. See: #25485
* Merge topic 'doc-xcframeworks-stubs-apple' into release-3.28Brad King2023-12-134-19/+24
|\ | | | | | | | | | | | | | | | | e831eef933 Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworks 01735badee Help: XCFrameworks and stubs are supported on all Apple, not just macOS 6ac50df591 Help: Add missing versionadded directives for IMPORTED_IMPLIB Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9058
| * Help: Note case where IMPORTED_IMPLIB isn't needed for (xc)frameworksCraig Scott2023-12-131-0/+6
| |
| * Help: XCFrameworks and stubs are supported on all Apple, not just macOSCraig Scott2023-12-094-18/+14
| |
| * Help: Add missing versionadded directives for IMPORTED_IMPLIBCraig Scott2023-12-091-5/+8
| |
* | Merge topic 'ci-xcode-15.1' into release-3.28Brad King2023-12-121-6/+6
|\ \ | | | | | | | | | | | | | | | | | | e2d25c6724 gitlab-ci: update macOS jobs to use Xcode 15.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9066
| * | gitlab-ci: update macOS jobs to use Xcode 15.1Brad King2023-12-111-6/+6
| | |
* | | Merge topic 'bug/fix_cupti_regression' into release-3.28Brad King2023-12-121-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f69b9b7305 CUDAToolkit: Restore ability to find cupti headers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Misha Chornyi <mchornyi@nvidia.com> Merge-request: !9054
| * | | CUDAToolkit: Restore ability to find cupti headersRobert Maynard2023-12-081-2/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | Fixes #25484 PR !8835 failed to update the CUPTI header searches to use the new internal FindCUDAToolkit search variables. This caused the CUDA::cupti target to always not exist.
* | | Merge topic 'Help-create_test_sourcelist' into release-3.28Brad King2023-12-121-22/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 464bc12bb7 Help/create_test_sourcelist: format arguments in the signature docs 131f9c9efa Help/create_test_sourcelist: add formatting markup 8540520902 Help/create_test_sourcelist: reflow prose Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9059
| * | | Help/create_test_sourcelist: format arguments in the signature docsBen Boeckel2023-12-101-4/+4
| | | |
| * | | Help/create_test_sourcelist: add formatting markupBen Boeckel2023-12-091-7/+7
| | | |
| * | | Help/create_test_sourcelist: reflow proseBen Boeckel2023-12-091-18/+17
| | |/ | |/|
* | | Merge topic 'cmake-sources-no-scan' into release-3.28Brad King2023-12-124-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91b7bf59a7 cmGlobalXCodeGenerator: disable C++ module scanning for force-lang files 9e19a61ddb cmLocalGenerator: disable C++ module scanning for unity sources fa9a72a788 cmLocalGenerator: disable C++ module scanning for copied PCH sources e5dce1a37e cmQtAutoGenInitializer: disable C++ module scanning for autogen sources 4fd596c34c cmGeneratorTarget: disable C++ module scanning for verify targets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9064
| * | cmGlobalXCodeGenerator: disable C++ module scanning for force-lang filesBen Boeckel2023-12-111-0/+1
| | |
| * | cmLocalGenerator: disable C++ module scanning for unity sourcesBen Boeckel2023-12-111-0/+1
| | |
| * | cmLocalGenerator: disable C++ module scanning for copied PCH sourcesBen Boeckel2023-12-111-0/+1
| | |
| * | cmQtAutoGenInitializer: disable C++ module scanning for autogen sourcesBen Boeckel2023-12-111-0/+1
| | |
| * | cmGeneratorTarget: disable C++ module scanning for verify targetsBen Boeckel2023-12-111-0/+1
|/ /
* | Merge topic 'test-gnu-hurd-sleep' into release-3.28Brad King2023-12-091-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 8f53526dec Tests: Do not expect EINTR when sleep is interrupted on GNU/Hurd Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9052
| * | Tests: Do not expect EINTR when sleep is interrupted on GNU/HurdMattias Ellert2023-12-081-1/+1
| | | | | | | | | | | | | | | | | | Previously `RunCMake.CTestTimeout` failed on GNU/Hurd because the `sleep` command does not set `errno` to `EINTR` when interrupted by a signal, which is a Linux-specific feature.
* | | Merge topic 'ninja-dev' into release-3.28Brad King2023-12-092-4/+11
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 101ac06b28 Tests: Update for changes to upstream ninja development version Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9053
| * | Tests: Update for changes to upstream ninja development versionBrad King2023-12-082-4/+11
|/ / | | | | | | | | | | | | | | | | Account for: * commit `8f47d5aa33` (Remove `-w dupbuild` completely, always error on duplicate edges, 2023-11-29) * commit `4d98903d4c` (Improve misleading error message when an output is defined multiple times, 2023-12-06)
* | Merge topic 'FindCUDAToolkit-fix-stubs' into release-3.28Brad King2023-12-071-5/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | d85bf99bcb FindCUDAToolkit: Fix stub library representation on reconfigure Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !9045
| * | FindCUDAToolkit: Fix stub library representation on reconfigureBrad King2023-12-061-5/+7
| |/ | | | | | | | | | | | | | | | | | | | | Since commit 0744c02e24 (FindCUDAToolkit: targets pointing to stubs now use IMPORTED_IMPLIB, 2023-07-24, v3.28.0-rc1~309^2) we recognize CUDA stub libraries and represent them in a special way. However, the logic only works on the first configuration of a build tree when the libraries are first found. Once the results are cached, we incorrectly revert to the non-stub representation. Fix this by recognizing stub libraries based on their path instead.
* | Merge topic 'doc-fetchcontent-bad-ref' into release-3.28Brad King2023-12-071-1/+1
|\ \ | |/ |/| | | | | | | | | bd50e8a058 Help: Fix malformed cross-reference in FetchContent docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9047
| * Help: Fix malformed cross-reference in FetchContent docsCraig Scott2023-12-071-1/+1
|/
* CMake 3.28.0v3.28.0Brad King2023-12-061-1/+1
|
* Merge topic 'cxxmodules-msvc-corner-cases' into release-3.28Brad King2023-12-065-3/+27
|\ | | | | | | | | | | | | | | e63983956d Tests/CXXModules: enhance `internal-partitions` test 8a658fb9ec Tests/CXXModules: import from an internal partition Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9039
| * Tests/CXXModules: enhance `internal-partitions` testBen Boeckel2023-12-054-1/+17
| | | | | | | | | | | | This test previously did not *require* that the internal partition be specified as a transitive usage because nothing from it was exposed. Plumb through usages such that the internal partitions are required.
| * Tests/CXXModules: import from an internal partitionBen Boeckel2023-12-053-2/+10
| | | | | | | | | | | | It is reported that MSVC doesn't support the `modname=` syntax in its `-reference modname=modname.ifc` for internal partitions. Add a test case.
* | Merge topic 'fix-cxx-module-transitive-requirements' into release-3.28Brad King2023-12-0636-6/+392
|\ \ | | | | | | | | | | | | | | | | | | | | | e9b0dcbbfa cmCxxModuleMapper: Fix transitive requirements computation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9030
| * | cmCxxModuleMapper: Fix transitive requirements computationnamniav2023-12-0536-6/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously CMake may generate incomplete transitive requirements in CMakeFiles/<target>.dir/CXXModules.json and therefore in module mapper for compiler, when source files were listed in CMakeList.txt in a certain order. This commit fixes the problem by correctly tracking unfinished transitive requirements computation of module units. There have been a simple circular test case whose circular dependency was reported by build system. Now with this correct implementation it's reported by CMake generating module mappers. Add two test cases for transitive requirements computation, one with adding source files in hardcoded order, and the other in randomized order. Fixes: #25465
* | | Merge topic 'LLVMFlang-MSVC-debug' into release-3.28Brad King2023-12-063-9/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ef49ed0fe1 LLVMFlang: Fix MSVC ABI debug information format options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9037
| * | | LLVMFlang: Fix MSVC ABI debug information format optionsBrad King2023-12-053-9/+16
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 26bf32cdc6 (LLVMFlang: Add support for targeting MSVC ABI on Windows, 2023-09-28, v3.28.0-rc1~10^2) we incorrectly recorded `-g` as supporting the `ProgramDatabase` format, but it is actually `Embedded`, matching Clang. In order to support easy integration with C and C++ projects that use the `.pdb` debug formats, pretend LLVMFlang supports them and just don't actually emit any debug information. Issue: #24840
* | | Merge topic 'imported-implib-only' into release-3.28Brad King2023-12-063-12/+26
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | fc6508921c cmComputeLinkInformation: Restore soname lookup for non-imported targets 03d86f9d9c cmGeneratorTarget: Add helper to check for known runtime artifact Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !9041
| * | cmComputeLinkInformation: Restore soname lookup for non-imported targetsBrad King2023-12-052-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 7351d590ee (cmTarget: Add a way to represent imported shared library stubs, 2023-07-17, v3.28.0-rc1~344^2) we accidentally stopped passing the SONAME of a non-imported SHARED library to our runtime search path ordering logic. Unfortunately I have not found a way to add a test case for this, but it at least shouldn't regress existing tests or those added by that commit.
| * | cmGeneratorTarget: Add helper to check for known runtime artifactBrad King2023-12-052-0/+14
|/ /
* | Merge topic 'RH-gcc-toolset-10-bug-check' into release-3.28Brad King2023-12-051-0/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | 40af103402 cmCMakePath: do not use std::filesystem::path with RH gcc-toolset-10 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9026
| * | cmCMakePath: do not use std::filesystem::path with RH gcc-toolset-10Marc Chevrier2023-12-041-0/+28
| |/ | | | | | | Fixes: #25458, #25453
* | Merge topic 'cxxmodules-pch' into release-3.28Brad King2023-12-056-8/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 40dc13b242 cmNinjaTargetGenerator: PCH files do not need dyndep f61c64cd1c cmLocalGenerator: prevent scanning of PCH source files ea8c37b759 Tests/CXXModules: add a test which scans a PCH-using source Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9032
| * | cmNinjaTargetGenerator: PCH files do not need dyndepBen Boeckel2023-12-041-8/+7
| | | | | | | | | | | | Fixes: #24209
| * | cmLocalGenerator: prevent scanning of PCH source filesBen Boeckel2023-12-041-0/+3
| | |
| * | Tests/CXXModules: add a test which scans a PCH-using sourceBen Boeckel2023-12-044-0/+24
| | | | | | | | | | | | This tests that PCH usage works with scanning logic.