summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake 3.29.0v3.29.0Brad King2024-03-211-1/+1
|
* Merge branch 'release-3.28' into release-3.29Brad King2024-03-201-3/+4
|\
| * CMake 3.28.4v3.28.4Brad King2024-03-202-4/+5
| |
* | Merge branch 'release-3.28' into release-3.29Brad King2024-03-200-0/+0
|\ \ | |/
| * Merge topic 'ninja-fortran-include' into release-3.28Brad King2024-03-206-17/+42
| |\ | | | | | | | | | | | | | | | | | | 36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9351
* | \ Merge topic 'ninja-fortran-include' into release-3.29Brad King2024-03-206-17/+41
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9351
| * | Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sourcesBrad King2024-03-196-17/+42
| |/ | | | | | | | | | | | | If a preprocessed source also uses the Fortran `INCLUDE` directive, search the original source file's directory. Fixes: #25792
* | Merge topic 'package-dispatch-apple' into release-3.29Brad King2024-03-2017-32/+174
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85d6d3b2e3 generate_apple_*_selection_file: Add option to capture errors 2149dbd379 generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) support be642f6ed5 generate_apple_architecture_selection_file: Simplify signature 8959ad9db1 Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument order 677f3d721b Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9349
| * | generate_apple_*_selection_file: Add option to capture errorsBrad King2024-03-1914-10/+137
| | | | | | | | | | | | | | | | | | | | | Add an option to capture error messages in a variable instead of terminating with a fatal error. Fixes: #25778
| * | generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) supportBrad King2024-03-195-1/+10
| | | | | | | | | | | | | | | | | | Also add a test case. Fixes: #25780
| * | generate_apple_architecture_selection_file: Simplify signatureBrad King2024-03-192-18/+15
| | | | | | | | | | | | | | | | | | | | | Allow callers to pass multiple values to list-valued arguments instead of putting the entire list in a single quoted argument. Fixes: #25779
| * | Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument orderBrad King2024-03-191-1/+4
| | | | | | | | | | | | | | | Call `generate_apple_architecture_selection_file` with matching order in `SINGLE_ARCHITECTURES` and `SINGLE_ARCHITECTURE_INCLUDE_FILES`.
| * | Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10Brad King2024-03-191-4/+10
| | | | | | | | | | | | Use every architecture each version of Xcode has in `$(ARCHS_STANDARD)`.
* | | Merge topic 'doc-release-3.29-typos' into release-3.29Brad King2024-03-195-7/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eceb368ccc Help: Fix typos in 3.29 docs 31fb693d06 Help: Fix typos and grammar in pre-3.29 docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9353
| * | | Help: Fix typos in 3.29 docsCraig Scott2024-03-192-4/+4
| | | |
| * | | Help: Fix typos and grammar in pre-3.29 docsCraig Scott2024-03-193-3/+3
| | | |
* | | | Merge topic 'doc-exit-code-range' into release-3.29Brad King2024-03-191-2/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | c980745b82 Help: Specify advisable range for exit code in cmake_language(EXIT) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9352
| * | | Help: Specify advisable range for exit code in cmake_language(EXIT)Craig Scott2024-03-191-2/+7
|/ / / | | | | | | | | | | | | The limitations added here are documented in the bash shell's reference manual.
* | | Merge topic 'doc-project-include-vars-3.29' into release-3.29Brad King2024-03-185-10/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | dcb894fb00 Help: Update project() code injection for new 3.29 include behavior 09cf39ab07 Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9343
| * | Help: Update project() code injection for new 3.29 include behaviorCraig Scott2024-03-161-6/+6
| | | | | | | | | | | | | | | | | | Specifically, the various CMAKE_PROJECT_...INCLUDE... variables can now take a list of things, and those things can be module names too, not just file names.
| * | Help: Improve wording of CMAKE_PROJECT_..._INCLUDE... changes for 3.29Craig Scott2024-03-164-4/+8
|/ /
* | CMake 3.29.0-rc4v3.29.0-rc4Brad King2024-03-141-1/+1
| |
* | Merge topic 'Apple-TBD-in-subdirecory' into release-3.29Brad King2024-03-143-3/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | bcc26ce465 Apple Text Based Stubs: should be usage in subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9341
| * | Apple Text Based Stubs: should be usage in subdirectoriesMarc Chevrier2024-03-143-3/+17
| | | | | | | | | | | | Fixes: #25765
* | | Merge branch 'release-3.28' into release-3.29Brad King2024-03-140-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'autogen-makefile-depfile' into release-3.28Brad King2024-03-147-33/+38
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2d1763f88 cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logic 6193d15556 Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9340
* | \ \ Merge topic 'autogen-makefile-depfile' into release-3.29Brad King2024-03-147-33/+38
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | d2d1763f88 cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logic 6193d15556 Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9340
| * | | cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logicBrad King2024-03-141-24/+10
| | | | | | | | | | | | | | | | | | | | | | | | We place the same target ordering dependencies on either the `_autogen_timestamp_deps` target or the `_autogen` target. Refactor the logic to avoid duplicating that code.
| * | | Autogen: Restore target-ordering dependencies in Makefiles with DEPFILEBrad King2024-03-147-16/+35
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit aebfbcaa46 (AutoGen: Use depfiles for the XXX_autogen ninja targets, 2020-01-14, v3.17.0-rc1~58^2) the `_autogen_timestamp_deps` target was given target ordering dependencies through its custom command rather than direct target dependencies as on the `_autogen` target. Then commit 895fa3433f (cmQtAutoGenInitializer: support IMPLIB-only imported targets, 2021-09-23, v3.22.0-rc1~80^2) converted some target-level dependencies into file-level dependencies on the custom command. This only works with a monolithic build graph like Ninja. Since commit ebc9e448b3 (Autogen: Add depfile support for Makefiles, 2023-09-07, v3.28.0-rc1~101^2~1) we use the `_autogen_timestamp_deps` target in Makefile generators too. This exposed the missing target ordering dependency. Fixes: #25766
* | | Merge topic 'LINKER_TYPE-mold-support' into release-3.29Brad King2024-03-1412-14/+57
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 801ae06952 LINKER_TYPE: Support MOLD only on GCC versions that support it 939ac5287e LINKER_TYPE: fix spelling error in message 922883782b LINKER_TYPE: Document that linker tool should be in the PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9334
| * | | LINKER_TYPE: Support MOLD only on GCC versions that support itMarc Chevrier2024-03-1311-14/+51
| | | | | | | | | | | | | | | | Fixes: #25748
| * | | LINKER_TYPE: fix spelling error in messageMarc Chevrier2024-03-122-2/+2
| | | |
| * | | LINKER_TYPE: Document that linker tool should be in the PATHMarc Chevrier2024-03-121-0/+6
| | | | | | | | | | | | | | | | Issue: #25748
* | | | Merge topic 'fc-MakeAvailable-leak-var' into release-3.29Brad King2024-03-141-13/+20
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 2b68048bdb FetchContent: Don't leak temporary variable and restore var robustly Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9338
| * | | FetchContent: Don't leak temporary variable and restore var robustlyCraig Scott2024-03-131-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In FetchContent_MakeAvailable(), the __fcprefix__ previously used when pushing the value of CMAKE_EXPORT_FIND_PACKAGE_NAME to the variable stack is not needed. The stack will never be empty at that point, so pushing an empty value will be handled correctly. By removing the __fcprefix__, we no longer need any temporary variable when restoring CMAKE_EXPORT_FIND_PACKAGE_NAME. But we need to ensure CMAKE_EXPORT_FIND_PACKAGE_NAME is left undefined if it wasn't defined before, and pushing an empty value doesn't let us distinguish between unset and set-but-empty. Therefore, when CMAKE_EXPORT_FIND_PACKAGE_NAME is undefined, push a specific value that can't be used by the project instead and check for that when popping it again. This ensures we can robustly distinguish the two cases and will always restore the right state. Fixes: #25758
* | | | Merge topic 'export-find_dependency-calls' into release-3.29Brad King2024-03-1329-26/+124
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9336
| * | | | EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gateBrad King2024-03-1229-26/+124
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Some design concerns have been raised after trying the 3.29 release candidates. Avoid committing to a stable public interface for now. Issue: #25767
* | | | Merge branch 'release-3.28' into release-3.29Brad King2024-03-130-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge topic 'backport-3.28-ci-xcode-15.3' into release-3.28Brad King2024-03-134-9/+16
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a6d05aa9d gitlab-ci: update macOS jobs to use Xcode 15.3 7bf893bc30 Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3 7f5f0ab4b3 Tests: Update RunCMake.CompileFeatures for Xcode 15.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9333
* | \ \ \ Merge topic 'ci-xcode-15.3' into release-3.29Brad King2024-03-135-10/+17
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 682767e8a5 Merge branch 'backport-3.28-ci-xcode-15.3' e572986231 LinkerId: Update detection of linker tool for Xcode 15.3 8a6d05aa9d gitlab-ci: update macOS jobs to use Xcode 15.3 7bf893bc30 Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3 7f5f0ab4b3 Tests: Update RunCMake.CompileFeatures for Xcode 15.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9333
| * | | | Merge branch 'backport-3.28-ci-xcode-15.3'Brad King2024-03-124-9/+16
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | gitlab-ci: update macOS jobs to use Xcode 15.3Brad King2024-03-121-6/+6
| | | | |
| | * | | Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3Brad King2024-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode passes a new `-use-frontend-parseable-output` flag to Swift that conflicts with our `-parseable-output` flag. Use a different flag for the test case.
| | * | | Tests: Update RunCMake.CompileFeatures for Xcode 15.3Brad King2024-03-122-1/+8
| | |/ / | | | | | | | | | | | | Xcode no longer puts an extra backslash in its `-std=` flags.
| * | | LinkerId: Update detection of linker tool for Xcode 15.3Brad King2024-03-121-1/+1
|/ / / | | | | | | | | | | | | | | | Xcode now prints extra `ExecuteExternalTool` lines that happen to mention the linker tool, but not in conjunction with actually linking something. Ignore them.
* | | Merge topic 'export-find_dependency-calls' into release-3.29Brad King2024-03-123-6/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | b1c4806914 install(EXPORT): Drop REQUIRED from exported find_dependency calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9329
| * | install(EXPORT): Drop REQUIRED from exported find_dependency callsBrad King2024-03-113-6/+6
|/ / | | | | | | | | | | | | | | | | | | In commit c6e6861e63 (install(EXPORT): Export find_dependency() calls, 2023-11-07, v3.29.0-rc1~439^2~1) we made the calls `REQUIRED`. However, a dependency is only required if the dependent package is required. `find_dependency` already forwards the `REQUIRED` mark, and also already marks the dependent package as not found if the dependency is missing. Fixes: #25756
* | Merge topic 'ctest-j-default' into release-3.29Brad King2024-03-1148-208/+440
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5de1e21659 ctest: Allow passing -j without value to choose a contextual default bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization 7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case 30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9315
| * | ctest: Allow passing -j without value to choose a contextual defaultBrad King2024-03-1040-51/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under job server integration, added by commit 80fe56c481 (ctest: Add support for running under a make job server on POSIX systems, 2023-11-15, v3.29.0-rc1~324^2), use a very high default so that parallelism is effectively limited only by available job server tokens. Otherwise, choose a default limit based on the number of processors. Also allow passing `0` to specify unbounded parallelism. Fixes: #25739
| * | cmCTestMultiProcessHandler: Modernize member initializationBrad King2024-03-103-34/+23
| | |