Commit Graph
38997 Commits
Author SHA1 Message Date
Kitware Robot 1a4064ee70 CMake Nightly Date Stamp 2026-02-24 00:12:43 -05:00
Brad King 382704e6a8 Merge topic 'output-converter-string-view'
3d51b027eb cmOutputConverter: Reduce string copies in ConvertToOutputForExisting

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11719
2026-02-23 09:36:54 -05:00
Kitware Robot da13687836 CMake Nightly Date Stamp 2026-02-23 00:06:51 -05:00
Kitware Robot abea27e89c CMake Nightly Date Stamp 2026-02-22 00:12:38 -05:00
Kitware Robot 2f21487482 CMake Nightly Date Stamp 2026-02-21 00:12:18 -05:00
Brad King 3d51b027eb cmOutputConverter: Reduce string copies in ConvertToOutputForExisting
Allocate only when actually converting to a short path.
2026-02-20 12:19:59 -05:00
Brad King 315042dfd0 Merge topic 'FILE_SET-update-generation-step'
dee8799d16 FileSet management: Introduce dedicated classes for generation
b45dcfd306 Extract cmTargetPropertyEntry class from cmGeneratorTarget class.
c362c4a7b5 cmTargetSourcesCommand: enhance arguments checks
c4c84ae0f7 cmFileSet: Enhance type management

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11698
2026-02-20 09:31:47 -05:00
Brad King 7df1d64039 Merge topic 'cmake-e-cat-stdin'
50535776c5 cmake -E cat: Read from stdin when no other args are given

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11713
2026-02-20 09:29:45 -05:00
Brad King e4890abdcd Merge topic 'fix-cps-c-features'
344f23bac4 CPS: Fix C features

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11712
2026-02-20 09:25:24 -05:00
Brad King cd221593b0 Merge topic 'ctest-remove-redundant-code'
a9aecb59a8 cmTestGenerator: Don't override without adding functionality
67ef6bfd70 CTest: Remove code duplication

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11710
2026-02-20 09:23:01 -05:00
Kitware Robot 7333af933d CMake Nightly Date Stamp 2026-02-20 00:11:34 -05:00
Martin Duffy 50535776c5 cmake -E cat: Read from stdin when no other args are given 2026-02-19 16:33:06 -05:00
Matthew Woehlke 344f23bac4 CPS: Fix C features
Fix a typo in the logic that generates CPS compile features for C
language standards. Update tests to cover both C and C++.

Fixes: #27618
2026-02-19 15:13:24 -05:00
Marc Chevrier dee8799d16 FileSet management: Introduce dedicated classes for generation
To manage the generation step, introduce cmGeneratorFileSet and
cmGeneratorFileSets classes.
These reorganizations of the code are done in preparation of the
implementation of SOURCES file set type as well as user's file set types.

Issues: #27550, #27383
2026-02-19 17:35:56 +01:00
Marc Chevrier b45dcfd306 Extract cmTargetPropertyEntry class from cmGeneratorTarget class.
To enable to reuse this class in different classes.
2026-02-19 17:03:45 +01:00
Marc Chevrier c362c4a7b5 cmTargetSourcesCommand: enhance arguments checks 2026-02-19 17:03:45 +01:00
Marc Chevrier c4c84ae0f7 cmFileSet: Enhance type management
Type management is now dynamic to ensure future support of user's types.
2026-02-19 17:03:45 +01:00
Brad King ff0cd9500e CMake 4.3.0-rc1 2026-02-19 10:50:25 -05:00
Brad King 5155b6649f Merge topic 'ctest-launch-stdin'
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:43 -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 fec097038a Merge topic 'sbom-spec-fixes'
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:42 -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 c6e8a62ed1 Merge topic 'cmp0210-warning'
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:28 -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 68868f1d26 Merge topic 'cmake-gui-dark-mode'
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:22 -05:00
Daniel Pfeifer a9aecb59a8 cmTestGenerator: Don't override without adding functionality 2026-02-19 12:05:14 +01:00
Daniel Pfeifer 67ef6bfd70 CTest: Remove code duplication 2026-02-19 12:05:12 +01:00
Kitware Robot b368f0617d CMake Nightly Date Stamp 2026-02-19 00:11:43 -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
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 09fe5b90a5 Merge topic 'post-rel-dev'
a233f9fc0a Configure CMake itself with policies through CMake 4.2
5d5435c8ce export: Increase maximum policy version in exported files to 4.2
0d5069d5e8 Add deprecation warnings for policies CMP0155 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11701
2026-02-18 09:34:50 -05:00
Brad King 0873cc190d Merge topic 'pchreuse-copy-depends'
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:39 -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
Kitware Robot d46934b7e3 CMake Nightly Date Stamp 2026-02-18 00:11:01 -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 a233f9fc0a Configure CMake itself with policies through CMake 4.2 2026-02-17 16:43:00 -05:00
Brad King 5d5435c8ce export: Increase maximum policy version in exported files to 4.2
The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 4.2, so enable them in sufficiently new CMake versions.
2026-02-17 16:42:58 -05:00
Brad King 0d5069d5e8 Add deprecation warnings for policies CMP0155 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.28 and below to encourage projects to port
away from setting policies to OLD.
2026-02-17 16:42:48 -05:00
Brad King da1979280f Begin post-4.3 development 2026-02-17 14:27:25 -05:00
Brad King 49298c7b18 Begin 4.3 release versioning 2026-02-17 14:23:19 -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 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
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
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
Brad King 14e93d31c1 ctest: Report StartTestTime in Test.xml only for tests that started
Fix commit fd55647d16 (ctest: Record `StartTestTime` entry for each
test in Test.xml, 2026-02-12) to not report an uninitialized field.
2026-02-14 18:39:42 -05:00