Brad King
f8608b020b
Merge branch 'release-4.0'
2025-09-08 15:57:28 -04:00
Brad King
edd51d646c
CMake 4.0.4
v4.0.4
2025-09-08 14:51:44 -04:00
Brad King
a3a3416bc1
Merge topic 'install-object-only-destination'
...
c1de3c72a3 install: support using `DESTINATION` as-is for object installation
cf44806e7c Help/CMAKE_INSTALL_OBJECT_NAME_STRATEGY: add `versionadded` directive
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11138
2025-09-08 11:32:05 -04:00
Brad King
bf1841534c
Merge topic 'cpack-several-checksums'
...
bc1c295b95 CPack: Add support for multiple checksums per package
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11141
2025-09-08 11:29:34 -04:00
Brad King
daf5cc56a0
Merge topic 'fbuild_clang_cl'
...
888e9e1081 FASTBuild: fix CMake build with clang-cl
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11137
2025-09-08 11:25:51 -04:00
Brad King
5e34b752d6
Merge topic 'cmp0178-warning-googletest'
...
f4059c5923 GoogleTest: Prevent spurious CMP0178 warning for EXTRA_ARGS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11152
2025-09-08 11:23:58 -04:00
Brad King
e6c24fe936
Merge topic 'cmp0174-warning-fetchcontent'
...
20c751bdcb FetchContent: Update policy settings to CMake 4.1
60b8114ea9 Help: Stronger wording for prohibited keywords in FetchContent_Declare()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11151
2025-09-08 11:22:07 -04:00
Kitware Robot
522fe30232
CMake Nightly Date Stamp
2025-09-08 00:05:19 -04:00
Kitware Robot
97eac96b27
CMake Nightly Date Stamp
2025-09-07 00:13:42 -04:00
Ben Boeckel
c1de3c72a3
install: support using DESTINATION as-is for object installation
...
CMake historically has forced an `objects[-<CONFIG>]/<TARGET_NAME>`
subdirectory under an `OBJECT` library installation's `OBJECTS
DESTINATION` which may be unwanted. Support skipping this component
with a target property.
2025-09-06 00:44:42 -04:00
Kitware Robot
1a8e331fea
CMake Nightly Date Stamp
2025-09-06 00:05:04 -04:00
Brad King
58bde95a0a
Merge topic 'instrumentation-rename-hooks'
...
7c13444fb5 Experimental: Update the Instrumentation UUID
fbb5b47fbf instrumentation: Rename postTest and postInstall hooks
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11148
2025-09-05 09:55:05 -04:00
Brad King
4585c81426
Merge topic 'instrumentation-install-trace'
...
933176c2d1 instrumentation: Rename install and custom trace events
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11147
2025-09-05 09:52:38 -04:00
Brad King
d48a9e1111
Merge topic 'vs-cleanup'
...
a5cb4fe1c6 cmGlobalVisualStudioGenerator: Remove unused code left from VS 7.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11149
2025-09-05 09:40:38 -04:00
Brad King
032b091c3e
Merge topic 'unity-filename-prefix'
...
5723e65215 Unity: Add a target property to control generated filenames
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11068
2025-09-05 09:18:26 -04:00
Brad King
59d08d013b
Merge topic 'mold-depfile-support'
...
3a7eed6a27 mold linker: support discovery of --dependency-file support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11142
2025-09-05 09:14:07 -04:00
Brad King
f43dcd9558
Merge branch 'release-4.1'
2025-09-05 09:05:00 -04:00
Brad King
9af1de9409
Merge topic 'FindPython-ABI-handling'
...
c504b1c638 FindPython: Ensure correct handling of Python_FIND_ABI variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11145
2025-09-05 09:05:00 -04:00
Brad King
0747545129
Merge topic 'FindPython-ABI-handling' into release-4.1
...
c504b1c638 FindPython: Ensure correct handling of Python_FIND_ABI variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11145
2025-09-05 09:04:52 -04:00
Brad King
80e76ff643
Merge topic 'cpack-appimage'
...
1a6dbcc9ea CPack: Add AppImage generator
9f2949bc68 ci: Add script to install appimagetool in Linux jobs
069f858f42 ci: Add patchelf and appstream to Fedora base image
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10990
2025-09-05 08:58:45 -04:00
Sergiu Deitsch
bc1c295b95
CPack: Add support for multiple checksums per package
...
Closes : #27174
2025-09-05 08:42:17 -04:00
Craig Scott
f4059c5923
GoogleTest: Prevent spurious CMP0178 warning for EXTRA_ARGS
...
Fixes : #27190
2025-09-05 16:54:57 +10:00
Craig Scott
20c751bdcb
FetchContent: Update policy settings to CMake 4.1
...
The warning for policy CMP0174 can be triggered if a project mistakenly
specifies CONFIGURE_COMMAND, BUILD_COMMAND, INSTALL_COMMAND,
or TEST_COMMAND as keywords to FetchContent_Declare() and it passes
an empty string after the keyword. It shouldn't be specifying any of those
keywords, but doing so has always worked because FetchContent_Declare()
explicitly discards them. However, when a project specifies them, they get
used internally in contexts where the policy settings are those of the
FetchContent module itself. Those settings haven't been updated past
CMake 3.29, and CMP0174 came in with CMake 3.31.
Update the policy settings for FetchContent to avoid triggering the CMP0174
warning when a project erroneously specifies the prohibited keywords.
Fixes : #27157
2025-09-05 15:26:05 +10:00
Craig Scott
60b8114ea9
Help: Stronger wording for prohibited keywords in FetchContent_Declare()
...
Issue: #27157
2025-09-05 15:26:04 +10:00
Eduard Voronkin
888e9e1081
FASTBuild: fix CMake build with clang-cl
...
Fixes : #27175
2025-09-04 22:12:37 -07:00
Kitware Robot
2870bab401
CMake Nightly Date Stamp
2025-09-05 00:05:28 -04:00
Tyler Yankee
7c13444fb5
Experimental: Update the Instrumentation UUID
...
Update experimental UUID for instrumentation after commit fbb5b47fbf
(instrumentation: Rename postTest and postInstall hooks, 2025-09-04)
broke old hook names.
2025-09-04 14:01:17 -04:00
Tyler Yankee
fbb5b47fbf
instrumentation: Rename postTest and postInstall hooks
...
`postCTest` and `postCMakeInstall` are more closely aligned with the
corresponding snippets which cause cause them to trigger (`ctest` and
`cmakeInstall`, respectively), and as such serve as better indicators of
their true behavior.
2025-09-04 12:39:39 -04:00
Brad King
a5cb4fe1c6
cmGlobalVisualStudioGenerator: Remove unused code left from VS 7.1
...
Since commit c94f1bcf92 (Drop Visual Studio 7 .NET 2003 generator,
2017-04-19, v3.9.0-rc1~248^2) we no longer need special solution-level
target dependencies. We use `LinkLibraryDependencies` instead.
2025-09-04 12:30:02 -04:00
Tyler Yankee
933176c2d1
instrumentation: Rename install and custom trace events
...
Follow the format of other trace events to produce a pretty name for
install events (as the last component of the install script directory)
and a slightly prettier name for custom events (still limited by the
nature of custom targets).
2025-09-04 11:58:40 -04:00
Stephen Kennedy
5723e65215
Unity: Add a target property to control generated filenames
...
If not set default to `unity_` as before.
Closes : #26927
2025-09-04 09:31:01 -04:00
Brad King
89f4471c4c
Merge topic 'fbuild_additional_props'
...
a8e64742aa FASTBuild: allow disabling of caching / distribution
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11125
2025-09-04 09:19:30 -04:00
Brad King
d75c507d0a
Merge topic 'instrumentation-trace'
...
8d04c4d741 Experimental: Update the Instrumentation UUID
bf52fbfbc4 instrumentation: Add Google trace output
b6dcbc4387 Tests/RunCMake/Instrumentation: Improve formatting
27bc7d5782 Tests/RunCMake/Instrumentation: Factor out common JSON logic
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11124
2025-09-04 09:15:59 -04:00
Brad King
69edf00b57
Merge topic 'fastbuild-instrumentation'
...
903d35353f instrumentation: Update tests and documentation for FASTBuild support
bd24854d56 FASTBuild: Expand TargetLabels and Config for Link Commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Eduard Voronkin <edward.voronkin@gmail.com >
Merge-request: !11135
2025-09-04 09:13:00 -04:00
Marc Chevrier
c504b1c638
FindPython: Ensure correct handling of Python_FIND_ABI variable
...
Fixes : #27192
2025-09-04 15:06:57 +02:00
Kitware Robot
38904e285b
CMake Nightly Date Stamp
2025-09-04 00:05:11 -04:00
Daniel Nicoletti
1a6dbcc9ea
CPack: Add AppImage generator
...
This AppImage generator only relies on appimagetool and patchelf.
Closes : #27104
Co-authored-by: Brad King <brad.king@kitware.com >
2025-09-03 18:50:40 -04:00
John Drouhard
3a7eed6a27
mold linker: support discovery of --dependency-file support
2025-09-03 17:05:19 -05:00
Brad King
9f2949bc68
ci: Add script to install appimagetool in Linux jobs
2025-09-03 18:00:57 -04:00
Brad King
069f858f42
ci: Add patchelf and appstream to Fedora base image
...
These are needed to test the CPack AppImage generator.
2025-09-03 17:47:39 -04:00
Tyler Yankee
8d04c4d741
Experimental: Update the Instrumentation UUID
...
Update experimental UUID for instrumentation after commit bf52fbfbc4
(instrumentation: Add Google trace output, 2025-08-28) introduced a
significant feature.
2025-09-03 15:24:40 -04:00
Tyler Yankee
bf52fbfbc4
instrumentation: Add Google trace output
...
Add a feature to parse snippets into a trace file compatible with the
Google Trace Event Format.
Fixes : #26674
2025-09-03 15:24:10 -04:00
Eduard Voronkin
a8e64742aa
FASTBuild: allow disabling of caching / distribution
...
Compilation is complicated. Caching / distribution is even more
complicated. Sometimes there are bugs (in compilers as well as in
FASTBuild), so export the option to disable those features for CMake
targets.
2025-09-03 12:42:55 -04:00
Martin Duffy
903d35353f
instrumentation: Update tests and documentation for FASTBuild support
...
Fixes : #27184
2025-09-03 10:49:51 -04:00
Martin Duffy
bd24854d56
FASTBuild: Expand TargetLabels and Config for Link Commands
2025-09-03 10:40:17 -04:00
Ben Boeckel
cf44806e7c
Help/CMAKE_INSTALL_OBJECT_NAME_STRATEGY: add versionadded directive
2025-09-03 10:30:47 -04:00
Brad King
00185a62cf
Merge topic 'cps-fix-imported-configs'
...
eb51e55dcd cmPackageInfoReader: Fix IMPORTED_CONFIGURATIONS
c6a6d47233 find_package: CPS targets use CMP0200
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11120
2025-09-03 10:25:09 -04:00
Brad King
2b41d76aad
Merge topic 'fbuild_fix_rules'
...
2db39a59b5 FASTBuild: fix inconsistencies in rules application
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Vito Gamberini <vito.gamberini@kitware.com >
Merge-request: !11133
2025-09-03 10:23:12 -04:00
Brad King
057ec3864d
Merge branch 'release-4.1'
2025-09-03 10:20:17 -04:00
Brad King
aaf0586813
Merge topic 'ninja-custom-command-comment-syntax'
...
1bf48e34f4 Ninja: escape special characters in custom command comments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11136
2025-09-03 10:20:17 -04:00