summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | cxxmodules: Reference documentation in no-modules-support diagnosticsBrad King2023-10-117-33/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help users avoid errors about module support when they may not need it. While at it, polish sentence syntax in the diagnostic messages.
| * | | | | | Tests: Enforce RunCMake.CXXModules no-modules-support diagnostics strictlyBrad King2023-10-116-36/+26
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Previously the expected output expressions used `(...)*` which did not actually have to match anything.
* | | | | | Merge topic 'doc-typo' into release-3.28Brad King2023-10-111-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5bbc9055c0 Help: Fix typo in COMPATIBLE_INTERFACE_NUMBER_MIN Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8867
| * | | | | | Help: Fix typo in COMPATIBLE_INTERFACE_NUMBER_MIN權少2023-10-111-1/+1
|/ / / / / /
* | | | | | Merge topic 'findruby-add-support-for-3.2' into release-3.28Brad King2023-10-111-6/+6
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77ed529c22 FindRuby: Add support for 3.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8864
| * | | | | FindRuby: Add support for 3.2Heiko Becker2023-10-101-6/+6
|/ / / / /
* | | | | Merge topic 'remove-experimental-settings' into release-3.28Brad King2023-10-102-4/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb7339397b Tests/RunCMake/CXXModules: remove experimental settings Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8863
| * | | | | Tests/RunCMake/CXXModules: remove experimental settingsBen Boeckel2023-10-072-4/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | Logical conflicts between the topic that introduced the tests and the removal of the experimental flag completely.
* | | | | Merge branch 'release-3.27' into release-3.28Brad King2023-10-061-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | CMake 3.27.7v3.27.7Brad King2023-10-062-3/+3
| | | | |
* | | | | Merge topic 'findcuda_toolkit_restore_lib_search_dir' into release-3.28Brad King2023-10-061-1/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b6ae9c467 FindCUDAToolkit: Restore CUDAToolkit_LIBRARY_SEARCH_DIRS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8859
| * | | | | FindCUDAToolkit: Restore CUDAToolkit_LIBRARY_SEARCH_DIRS variableRobert Maynard2023-10-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was accidentally dropped by commit 4316d4dcfd (FindCUDAToolkit: Search all of `nvcc` implicit includes and library dirs, 2023-09-26).
* | | | | | Merge topic 'cxxmodules-explicit-c++20' into release-3.28Brad King2023-10-069-75/+199
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8ead378de cxxmodules: Scan only targets that explicitly enable C++ 20 68fca3eafe cmGeneratorTarget: Track explicitly enabled language standard levels da36e0638b cmGeneratorTarget: Remove outdated const/mutable pair c1f1aedcee cmStandardLevelResolver: Add method to look up standard level by name 23b57462aa cmStandardLevelResolver: Report feature std level from GetNewRequiredStandard 7519001ae6 cmStandardLevelResolver: Add method to get feature standard level 99fa01d3fa cmStandardLevelResolver: Factor out public representation of level fdd81a609a cmStandardLevelResolver: Clarify local variable name ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8860
| * | | | | | cxxmodules: Scan only targets that explicitly enable C++ 20Brad King2023-10-054-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we scanned any targets for which C++ 20 is enabled, even if enabled only by the compiler's default, such as when `CXXFLAGS=-std=c++20`.
| * | | | | | cmGeneratorTarget: Track explicitly enabled language standard levelsBrad King2023-10-052-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we only tracked when an explicit setting requires the standard level to be higher than the compiler's default.
| * | | | | | cmGeneratorTarget: Remove outdated const/mutable pairBrad King2023-10-042-7/+6
| | | | | | |
| * | | | | | cmStandardLevelResolver: Add method to look up standard level by nameBrad King2023-10-042-0/+26
| | | | | | |
| * | | | | | cmStandardLevelResolver: Report feature std level from GetNewRequiredStandardBrad King2023-10-043-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regardless of whether the feature requires a new (higher) standard level, always report the standard level that the feature needs.
| * | | | | | cmStandardLevelResolver: Add method to get feature standard levelBrad King2023-10-042-3/+20
| | | | | | |
| * | | | | | cmStandardLevelResolver: Factor out public representation of levelBrad King2023-10-043-17/+37
| | | | | | |
| * | | | | | cmStandardLevelResolver: Clarify local variable nameBrad King2023-10-041-2/+2
| | | | | | |
| * | | | | | cmStandardLevelResolver: Mark builtin language standards table as constBrad King2023-10-041-31/+27
| | | | | | |
| * | | | | | Tests: Modernize name of RunCMake.CXXModules compiler inspection caseBrad King2023-10-042-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | We use the case name `Inspect` for similar purposes in other tests.
* | | | | | Merge topic 'FindPkgConfig-error' into release-3.28Brad King2023-10-041-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c96b31e4b FindPkgConfig: Report not-found package names in fatal error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8856
| * | | | | | FindPkgConfig: Report not-found package names in fatal error messageAnthony Baker2023-10-031-3/+3
| | | | | | |
* | | | | | | Merge topic 'LLVMFlang-MSVC' into release-3.28Brad King2023-10-0425-51/+347
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26bf32cdc6 LLVMFlang: Add support for targeting MSVC ABI on Windows e9af7b9687 LLVMFlang: Add support for CMAKE_Fortran_COMPILER_TARGET 26fa048ffe Tests: Enable CMP0091/CMP0141 for MSVC settings in FortranOnly test 9d060b8682 Fortran: Save CMAKE_LINKER variable persistently for MSVC ABI 7571e653f4 CMakeDetermineCompilerABI: Add option to skip implicit link info parsing 12733d0d8d CMakeParseImplicitLinkInfo: Detect link lines using link.exe and lld-link Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8852
| * | | | | | LLVMFlang: Add support for targeting MSVC ABI on WindowsBrad King2023-10-038-11/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compiler does not yet support everything needed to integrate well with the MSVC ABI, in particular for runtime library selection and debug format selection. Document them in FIXME comments and leave this support undocumented by CMake for now. Fixes: #24840 Inspired-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
| * | | | | | LLVMFlang: Add support for CMAKE_Fortran_COMPILER_TARGETBrad King2023-10-021-0/+2
| | | | | | |
| * | | | | | Tests: Enable CMP0091/CMP0141 for MSVC settings in FortranOnly testBrad King2023-10-021-1/+1
| | | | | | |
| * | | | | | Fortran: Save CMAKE_LINKER variable persistently for MSVC ABIBrad King2023-10-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We already do this for other languages including C and CXX.
| * | | | | | CMakeDetermineCompilerABI: Add option to skip implicit link info parsingBrad King2023-10-021-32/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a way to do the parsing earlier and not overwrite it here.
| * | | | | | CMakeParseImplicitLinkInfo: Detect link lines using link.exe and lld-linkBrad King2023-10-0214-6/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are printed by LLVM-based compiler drivers targeting the MSVC ABI. In our use case for this, `CMAKE_LINKER` may not yet be known, so do not include it in the test data.
* | | | | | | Merge topic 'cxxmodules-verify-c++20' into release-3.28Brad King2023-10-031-11/+18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7ac696549a cxxmodules: Fix CMP0155 NEW behavior when C++ compile features are not known Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8857
| * | | | | | | cxxmodules: Fix CMP0155 NEW behavior when C++ compile features are not knownBrad King2023-10-031-11/+18
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With CMP0155 NEW behavior, we scan C++ sources in targets using C++ 20, i.e., in which the `cxx_std_20` feature is available. However, our check for C++ feature availability may incorrectly succeed in two cases: * MSVC versions from VS 2013 do not model C++ standard levels, so we assume all features are available as a heuristic to let projects at least try compiling with them. * During ABI detection the `CMAKE_CXX20_COMPILE_FEATURES` variable is not populated so we assume all features are available, knowing that our ABI detection project does not need them. For purposes of detecting targets using C++ 20, we do not want to assume `cxx_std_20` is available, so verify that we really know it is.
* | | | | | | Begin 3.28 release versioningBrad King2023-10-031-3/+3
| | | | | | |
* | | | | | | Help: Drop development topic notes to prepare releaseBrad King2023-10-032-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* | | | | | | Merge topic 'doc-3.28-relnotes'Brad King2023-10-0336-218/+208
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5df79d1930 Help: Update Sphinx versionadded directives for 3.28 release 4eb2386901 Help: Organize and revise 3.28 release notes 32f3966521 Help: Consolidate 3.28 release notes 2c4f579124 Help: Fix versionadded indentation in cmake-generator-expressions(7) manual Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8855
| * | | | | | Help: Update Sphinx versionadded directives for 3.28 releaseBrad King2023-10-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.27.0 --overwrite Manually remove directives added to new documentation of existing environment variables.
| * | | | | | Help: Organize and revise 3.28 release notesBrad King2023-10-031-93/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add section headers similar to the 3.27 release notes and move each individual bullet into an appropriate section. Revise a few bullets.
| * | | | | | Help: Consolidate 3.28 release notesBrad King2023-10-0334-216/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.28.rst`.
| * | | | | | Help: Fix versionadded indentation in cmake-generator-expressions(7) manualBrad King2023-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix indentation of the `versionadded` markup added by commit 634079b86d (cmGeneratorExpressionEvaluator: Short-circuit boolean operators, 2023-09-11) to render the note in the appropriate scope.
* | | | | | | Merge topic 'cmDebugTools-add-header'Brad King2023-10-033-0/+57
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0612796b1 cmDebugTools: add header Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8849
| * | | | | | | cmDebugTools: add headerBen Boeckel2023-10-013-0/+57
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides a utility macro which prints out: - location of the call; - the expression being evaluated; and - the value of the expression. Evaluates to the value of the expression. Inspired by Rust's `dbg!` macro. See: https://doc.rust-lang.org/stable/std/macro.dbg.html
* | | | | | | Merge branch 'release-3.27'Brad King2023-10-030-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'FindPostgreSQL-16' into release-3.27Brad King2023-10-031-2/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25644a78de FindPostgreSQL: Add support for version 16 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8854
* | \ \ \ \ \ \ Merge topic 'FindPostgreSQL-16'Brad King2023-10-031-2/+2
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25644a78de FindPostgreSQL: Add support for version 16 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8854
| * | | | | | | FindPostgreSQL: Add support for version 16Brad King2023-10-021-2/+2
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Fixes: #25292
* | | | | | | CMake Nightly Date StampKitware Robot2023-10-031-1/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge topic 'cxxmodules-no-longer-experimental'Brad King2023-10-02175-868/+564
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 437280b127 cxxmodules: scan C++ sources for imports by default 3cddd11649 Ninja: message about not compiled sources explicitly 068fde1c34 cmGeneratorTarget: use `this->` for method calls 197a6bf171 cxxmodules: rework control logic for scanning regular C++ sources 5eb7bd641a Tests/RunCMake/CXXModules: remove rules file requirement ff18acc301 CXXModules: remove `EXPERIMENTAL` from C++ module variable names 0c07f39006 cmExperimental: remove the flag for C++ modules 68caec9137 Help: add a manpage for cxxmodule support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !8828
| * | | | | | cxxmodules: scan C++ sources for imports by defaultBen Boeckel2023-10-0250-41/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Existing projects are not using C++ modules in their sources, so introduce policy CMP0155 to enable scanning by default.