Kitware Robot
d8eac036bc
CMake Nightly Date Stamp
2026-02-26 00:09:26 -05:00
Brad King
3a4811fdac
Merge topic 'add_source_and_binary_dirs_to_build_data'
...
446175e631 ctest: Add source and binary directories to Build.xml
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11729
2026-02-25 09:24:05 -05:00
Brad King
c96ae62157
Merge topic 'cmake-E-copy-t-flag'
...
16b8a1ba2a cmake -E copy_directory*: Add -t argument support
29dcbe4169 cmake -E copy_if_*: Add -t argument support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11693
2026-02-25 09:15:30 -05:00
Brad King
e35eb114aa
Merge topic 'windows-avoid-short-paths'
...
d314cad7f1 Ninja,Make,FASTBuild: Avoid unnecessary Windows short paths in placeholders
8099fe4436 CMakeParseImplicitLinkInfo: Fix detection of MSVC link.exe from quoted path
c211b5b7f3 Makefile: Pass includes response file using native path style
728b8b34c2 IAR: Fix `ichecks` invocation on Windows when not using short paths
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11717
2026-02-25 09:10:04 -05:00
Kitware Robot
38db18ccd5
CMake Nightly Date Stamp
2026-02-25 00:10:42 -05:00
Joseph Snyder
446175e631
ctest: Add source and binary directories to Build.xml
...
Introduce two new fields, SourceDirectory and BinaryDirectory,
to the Build.XML file with the appropriate data stored in it.
Fixes : #27628
2026-02-24 15:36:45 -05:00
Alex Reinking
16b8a1ba2a
cmake -E copy_directory*: Add -t argument support
...
Fixes : #24568
2026-02-24 13:38:13 -05:00
Alex Reinking
29dcbe4169
cmake -E copy_if_*: Add -t argument support
...
Issue: #24568
2026-02-24 13:38:07 -05:00
Brad King
e9292a3061
Merge topic 'fix-cps-prefix-crash'
...
7d2b4df69a CPS: Fix crash on bad paths in `.cps` file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11723
2026-02-24 12:03:44 -05:00
Robert Maynard and Brad King
d314cad7f1
Ninja,Make,FASTBuild: Avoid unnecessary Windows short paths in placeholders
...
Only the classic Borland `make` and Watcom `wmake` tools need short paths.
Co-authored-by: Brad King <brad.king@kitware.com >
Fixes : #16138
2026-02-24 11:56:23 -05:00
Brad King
c211b5b7f3
Makefile: Pass includes response file using native path style
...
We already pass the objects and libraries response files to the linker
this way. In particular, this is needed when using `NMake Makefiles`
on Windows with a path to `clang++.exe` that is not a "short path":
>nmake -f slash.make
"C:\Program Files\LLVM\bin\clang++.exe" @CMakeFiles/slash.rsp
cannot not open file 'C:\...\CMakeFiles': is a directory
>nmake -f backslash.make
"C:\Program Files\LLVM\bin\clang++.exe" @CMakeFiles\backslash.rsp
2026-02-24 10:51:07 -05:00
Brad King
728b8b34c2
IAR: Fix ichecks invocation on Windows when not using short paths
...
In commit c7d2a17253 (IAR: Add support for C-STAT static analysis,
2025-04-08, v4.1.0-rc1~385^2) we accidentally assumed the path to
`ichecks` never has a space. It worked because we always constructed
the path from a Windows "short path" to the compiler tool. Avoid
relying on that.
2026-02-24 10:40:05 -05:00
Kitware Robot
1a4064ee70
CMake Nightly Date Stamp
2026-02-24 00:12:43 -05:00
Matthew Woehlke
7d2b4df69a
CPS: Fix crash on bad paths in .cps file
...
The logic to compute the CPS prefix by comparing the specified relative
path to the actual path contained a potential overflow if the specified
path is longer than the actual path. Fix this by comparing the path
lengths first.
Fixes : #27631
2026-02-23 14:54:02 -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
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
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