summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | | Ninja: message about not compiled sources explicitlyBen Boeckel2023-10-021-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | With CMP0155, filesets with only non-compiled sources do not go through the collation path that detects it. Detect it explicitly like the Visual Studio generator does.
| * | | cmGeneratorTarget: use `this->` for method callsBen Boeckel2023-10-021-2/+2
| | | |
| * | | cxxmodules: rework control logic for scanning regular C++ sourcesBen Boeckel2023-10-0216-87/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that scanning support is no longer experimental, the logic for whether or not to scan C++ 20 sources is now important because all projects are now exposted to the logic. Make the scanning rules explicit in the documentation and rework the queries to localize all of the associated logic. A policy to handle the ultimate fallback logic will be implemented in a following commit.
| * | | Tests/RunCMake/CXXModules: remove rules file requirementBen Boeckel2023-10-027-19/+2
| | | | | | | | | | | | | | | | | | | | Only Clang needs to disable extensions in order to work; other implementations work as-is.
| * | | CXXModules: remove `EXPERIMENTAL` from C++ module variable namesBen Boeckel2023-10-0215-35/+35
| | | |
| * | | cmExperimental: remove the flag for C++ modulesBen Boeckel2023-10-02108-691/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
| * | | Help: add a manpage for cxxmodule supportBen Boeckel2023-10-022-0/+56
| | | |
* | | | Merge topic 'FindQt4-doc-typo'Brad King2023-10-021-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f8332bec19 FindQt4: Fix typo in documentation formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8853
| * | | | FindQt4: Fix typo in documentation formattingBrad King2023-10-021-1/+1
| | | | |
* | | | | Merge topic 'libuv-win-process'Brad King2023-10-021-12/+29
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | fe2ecf920f libuv: win,process: avoid kernel bug with starting Windows Store apps Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8846
| * | | | libuv: win,process: avoid kernel bug with starting Windows Store appsBrad King2023-09-281-12/+29
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport upstream libuv commit `93ca3f15` (win,process: avoid kernel bug with starting Windows Store apps, 2023-09-27) from libuv PR 4152. Fixes: #23029 Patch-by: Jameson Nash <vtjnash@gmail.com>
* | | | Merge branch 'release-3.27'Brad King2023-10-020-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'doc-CMP0124' into release-3.27Brad King2023-10-021-5/+37
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55bf2a3494 Help: Document CMP0124 behavior on already-set variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8850
* | \ \ \ Merge topic 'doc-CMP0124'Brad King2023-10-021-5/+37
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 55bf2a3494 Help: Document CMP0124 behavior on already-set variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8850
| * | | | Help: Document CMP0124 behavior on already-set variablesBrad King2023-09-291-5/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the documentation from commit 46896d98bb (foreach(): loop variables are only available in the loop scope, 2021-04-25, v3.21.0-rc1~245^2) to follow policy documentation convention. Fixes: #25224 Inspired-by: Marius Messerschmidt <marius.messerschmidt@googlemail.com>
* | | | | Merge branch 'release-3.27'Brad King2023-10-020-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'ctest-timeout-flag' into release-3.27Brad King2023-10-025-8/+23
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d267c128a2 ctest: Restore support for --timeout values higher than default test timeout dd779a4bc2 Tests: Clarify RunCMake.CTestTimeout case name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8851
* | | | | Merge topic 'ctest-timeout-flag'Brad King2023-10-025-8/+23
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d267c128a2 ctest: Restore support for --timeout values higher than default test timeout dd779a4bc2 Tests: Clarify RunCMake.CTestTimeout case name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8851
| * | | | ctest: Restore support for --timeout values higher than default test timeoutBrad King2023-09-294-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since refactoring in commit 0a5aeaf302 (cmCTestRunTest: Consolidate test timeout selection logic, 2023-05-04, v3.27.0-rc1~120^2) we accidentally truncate `--timeout` values to ctest's default `TimeOut`. Fix the logic to prefer the flag whenever the `TIMEOUT` property is not set. In combination with the prior refactoring, this also fixes a bug that caused `--timeout` values of 10000000 seconds or more to be ignored. Fixes: #23979
| * | | | Tests: Clarify RunCMake.CTestTimeout case nameBrad King2023-09-292-2/+2
| |/ / /
* | | | CMake Nightly Date StampKitware Robot2023-10-021-1/+1
| | | |