Commit Graph
74316 Commits
Author SHA1 Message Date
Brad King ff0cd9500e CMake 4.3.0-rc1 v4.3.0-rc1 2026-02-19 10:50:25 -05:00
Brad King b75e6413c0 Merge branch 'release-4.2' into release-4.3 2026-02-19 10:41:18 -05:00
Brad King 300f9af15c Merge topic 'doc-GenerateExportHeader' into release-4.3
4671e77845 GenerateExportHeader: Fix FILE_SET example BASE_DIRS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11711
2026-02-19 10:37:20 -05:00
Brad King ee5414b0e6 Merge branch 'release-4.1' into release-4.2 2026-02-19 10:36:30 -05:00
Brad King f126042925 Merge topic 'doc-GenerateExportHeader' into release-4.2
4671e77845 GenerateExportHeader: Fix FILE_SET example BASE_DIRS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11711
2026-02-19 10:36:20 -05:00
Brad King e79fa61fc6 Merge topic 'doc-GenerateExportHeader' into release-4.1
4671e77845 GenerateExportHeader: Fix FILE_SET example BASE_DIRS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11711
2026-02-19 10:35:23 -05:00
Brad King afb5babe44 Merge branch 'release-4.2' into release-4.3 2026-02-19 10:32:56 -05:00
Brad King 895e8479dc Merge branch 'release-4.1' into release-4.2 2026-02-19 10:32:50 -05:00
Brad King 0d341bf6b8 Merge topic 'ctest-launch-stdin' into release-4.3
0cc24534d7 ctest --launch: Restore sharing of stdin with child process

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Martin Duffy <martin.duffy@kitware.com>
Merge-request: !11709
2026-02-19 10:31:42 -05:00
Brad King fe3fee4622 Merge topic 'ctest-launch-stdin' into release-4.2
0cc24534d7 ctest --launch: Restore sharing of stdin with child process

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11709
2026-02-19 10:31:00 -05:00
Brad King ca98f56090 Merge branch 'release-4.0' into release-4.1 2026-02-19 10:30:53 -05:00
Brad King 415881a36a Merge topic 'ctest-launch-stdin' into release-4.1
0cc24534d7 ctest --launch: Restore sharing of stdin with child process

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11709
2026-02-19 10:30:46 -05:00
Brad King fc9cc322dc Merge branch 'release-3.31' into release-4.0 2026-02-19 10:30:39 -05:00
Brad King 10fb2d280d Merge topic 'ctest-launch-stdin' into release-4.0
0cc24534d7 ctest --launch: Restore sharing of stdin with child process

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11709
2026-02-19 10:30:24 -05:00
Brad King 7e6f148e50 Merge topic 'ctest-launch-stdin' into release-3.31
0cc24534d7 ctest --launch: Restore sharing of stdin with child process

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11709
2026-02-19 10:29:26 -05:00
Brad King 559146f632 Merge topic 'Help-cxxmodules-ecosystem-notes' into release-4.3
0cd5cf81b4 Help/cmake-cxxmodules: clarify stdlib support for Clang by name
306e927243 Help/cmake-cxxmodules: note Ubuntu 26.04 requirement for GCC `import std`
bdbbc98651 Help/cmake-cxxmodules: drop "preview" release of Visual Studio

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11707
2026-02-19 10:00:06 -05:00
Brad King 1f9c69b8ad Merge topic 'sbom-spec-fixes' into release-4.3
78f8b83ddb cmSbom: Fix names to ensure SBOM SPDX-3 compliance

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11700
2026-02-19 09:57:39 -05:00
Brad King 85961548d4 Merge topic 'cmp0210-warning' into release-4.3
8b350fae71 CMP0210: Warn at most once per `CMAKE_<LANG>_LINK_FLAGS` variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11703
2026-02-19 09:55:26 -05:00
Brad King 42c516f59b Merge topic 'cmake-gui-dark-mode' into release-4.3
4f451d044a cmake-gui: Fix first-configure dialog appearance in Dark Mode on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11705
2026-02-19 09:49:20 -05:00
Brad King 4671e77845 GenerateExportHeader: Fix FILE_SET example BASE_DIRS
In commit 12ec3270c4 (GenerateExportHeader: Extend documentation,
2025-05-06, v4.1.0-rc1~214^2) we added a `BASE_DIRS` example value using
a generator expression that cannot be correctly consumed after export.
Update the example to use `CMAKE_CURRENT_BINARY_DIR`, which is where
`generate_export_header` places the header anyway.  Also drop the
explicit `target_include_directories`, as it is not needed when
using a file set for the header.

Closes: #27620
2026-02-19 09:05:58 -05:00
Brad King 0cc24534d7 ctest --launch: Restore sharing of stdin with child process
This was broken by commit 96b3dd329e (cmCTestLaunchReporter: Replace
cmsysProcess with cmUVProcessChain, 2023-07-26, v3.28.0-rc1~138^2~2).
KWSys Process shares stdin by default.  Now it must be explicit.

Issue: #27610
2026-02-18 19:50:07 -05:00
Ben Boeckel 0cd5cf81b4 Help/cmake-cxxmodules: clarify stdlib support for Clang by name
Rather than by flag which might imply that an explicit flag is
necessary.
2026-02-18 16:04:43 -05:00
Ben Boeckel 306e927243 Help/cmake-cxxmodules: note Ubuntu 26.04 requirement for GCC import std 2026-02-18 16:03:36 -05:00
Ben Boeckel bdbbc98651 Help/cmake-cxxmodules: drop "preview" release of Visual Studio
The final release is out; no need to mention prerelease versions.
2026-02-18 15:53:50 -05:00
Taylor Sasser 78f8b83ddb cmSbom: Fix names to ensure SBOM SPDX-3 compliance 2026-02-18 15:01:43 -05:00
Brad King 4f451d044a cmake-gui: Fix first-configure dialog appearance in Dark Mode on Windows
Since commit 1fef953655 (Utilities/Release: Update to Qt 6.10.1 on
Windows builds, 2025-12-08) our official binaries on Windows now honor
dark mode.  However, this dialog became unreadable, seemingly due to
QTBUG-123853.  Setting the wizard style to itself seems to work around
the problem.

Fixes: #27587
Qt-Issue: https://qt-project.atlassian.net/browse/QTBUG-123853
Suggested-by: Matthew Woehlke <matthew.woehlke@kitware.com>
2026-02-18 14:25:25 -05:00
Tyler Yankee 8b350fae71 CMP0210: Warn at most once per CMAKE_<LANG>_LINK_FLAGS variable
Additionally, add more testing for the warning case.

Issue: #21934
2026-02-18 11:44:07 -05:00
Brad King 4966f3ed98 Merge branch 'release-4.2' into release-4.3 2026-02-18 09:26:30 -05:00
Brad King 40c2adc5c7 Merge topic 'pchreuse-copy-depends' into release-4.3
a8cf09d49a PCH: Fix regression in REUSE_FROM that copies the `.pdb` too often

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !11702
2026-02-18 09:19:37 -05:00
Brad King cb6c9421bd Merge topic 'pchreuse-copy-depends' into release-4.2
a8cf09d49a PCH: Fix regression in REUSE_FROM that copies the `.pdb` too often

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11702
2026-02-18 09:18:14 -05:00
Brad King a8cf09d49a PCH: Fix regression in REUSE_FROM that copies the .pdb too often
Since commit 99bdf2ae16 (cmLocalGenerator: add PDB copying dependency on
its script, 2025-06-16, v4.2.0-rc1~481^2~8) the copy is repeated
whenever the copying script is updated.  Avoid updating the copy script
timestamp when it does not change.

Fixes: #27608
2026-02-17 17:14:45 -05:00
Brad King 49298c7b18 Begin 4.3 release versioning 2026-02-17 14:23:19 -05:00
Brad King 49fb4a3695 Help: Drop development topic notes to prepare release
Release versions do not have the development topic section of
the CMake Release Notes index page.
2026-02-17 14:20:31 -05:00
Brad King 659d5179a2 Merge topic 'doc-4.3-relnotes'
62d573134e Help: Organize and revise 4.3 release notes
0454ef4764 Help: Consolidate 4.3 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11696
2026-02-17 14:20:04 -05:00
Brad King 7b29040846 Merge topic 'fuzzing-repro'
3b1408d8be Tests/Fuzzing: Improve local repro documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11697
2026-02-17 14:19:15 -05:00
Brad King 62d573134e Help: Organize and revise 4.3 release notes
Add section headers similar to the 4.2 release notes and move each
individual bullet into an appropriate section.  Revise a few bullets.
2026-02-17 13:32:57 -05:00
Brad King 0454ef4764 Help: Consolidate 4.3 release notes
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/4.3.rst`.
2026-02-17 13:31:16 -05:00
Brad King 78b344068b Merge topic 'fastbuild-msvc-i18n'
8bb0eef8e6 FASTBuild: make it work with non-US installations of MSVC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Eduard Voronkin <edward.voronkin@gmail.com>
Merge-request: !11668
2026-02-17 11:09:26 -05:00
Brad King a691abda2d Merge topic 'fix-27358'
2256eb36fb Tests: Work around Xcode ZERO_CHECK limitation in RerunMocOnAddFile test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11695
2026-02-17 11:07:08 -05:00
Brad King c266f697ec Merge topic 'remove-unneeded-check'
bcb62c875a cmMakefile: Remove unneeded check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11692
2026-02-17 11:03:21 -05:00
Brad King 8569be1245 Merge topic 'ctest-per-test-start-time'
14e93d31c1 ctest: Report `StartTestTime` in Test.xml only for tests that started
fa69e8348d ctest: Convert `StartTestTime` field in Test.xml to seconds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Joe Snyder <joe.snyder@kitware.com>
Merge-request: !11694
2026-02-17 10:59:16 -05:00
Kitware Robot 53d7dd96db CMake Nightly Date Stamp 2026-02-17 00:10:09 -05:00
Tyler Yankee 3b1408d8be Tests/Fuzzing: Improve local repro documentation 2026-02-16 12:26:48 -05:00
Alexander Neundorf 8bb0eef8e6 FASTBuild: make it work with non-US installations of MSVC
The fastbuild generator uses clui.dll directly, and assumed it is in
the 1033/ subdirectory. But this doesn't exist on non-US installations
of Visual Studio. With this patch cmake searches for clui.dll, so it can
use the correct path. If the env. var VSLANG is set, it tries that first,
then it tries 1033/ and if none of the two exists, it takes the first
one it finds.

Fixes: #27535
2026-02-16 10:33:20 -05:00
Joerg Bornemann 2256eb36fb Tests: Work around Xcode ZERO_CHECK limitation in RerunMocOnAddFile test
The Xcode build system creates its build plan at the start of a build
and does not re-read the project file when ZERO_CHECK regenerates it
mid-build. New source files added to CMakeLists.txt are silently
skipped, causing linker errors with Qt6 (whose moc generates metatype
code that references the class constructor).

Work around that issue by explicitly re-running CMake before building
when using the Xcode generator so the project file includes the new
sources before xcodebuild starts.

Fixes: #27358
Issue: #27611
2026-02-16 10:15:35 -05:00
Brad King 6741ac7186 Merge topic 'nvcc_handle_env_variables_with_special_names'
37777a66e3 CUDA: Handle env variables that clash with nvcc magic keywords

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11661
2026-02-16 09:16:19 -05:00
Brad King f5a1206794 Merge topic 'fix-lexer-multiline-strings'
b88b7e7c18 Help: Fix lexing of multi-line strings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11691
2026-02-16 08:47:14 -05:00
Brad King 1202254cd5 Merge topic 'improve-doc-consistency'
277c12a4c7 Help: Improve command usage formatting consistency

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11687
2026-02-16 08:43:11 -05:00
Kitware Robot c0a05022b6 CMake Nightly Date Stamp 2026-02-16 00:06:25 -05:00
Kitware Robot f809b9cb55 CMake Nightly Date Stamp 2026-02-15 00:07:27 -05:00