Brad King
517214ed9b
Merge topic 'typos-1.36.1'
...
8fb6449275 ci: Update to typos 1.36.1 in Fedora base image
49e05f9569 pre-commit: bump to typos 1.36.1
20e19a713d Source: Fix typo discovered by typos 1.36.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11150
2025-09-09 09:43:31 -04:00
Kitware Robot
ea2069bf9d
CMake Nightly Date Stamp
2025-09-09 00:05:11 -04:00
Alex Turbov
20e19a713d
Source: Fix typo discovered by typos 1.36.1
2025-09-08 12:14:39 -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
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
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
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
Kitware Robot
38904e285b
CMake Nightly Date Stamp
2025-09-04 00:05:11 -04:00
Daniel Nicoletti and Brad King
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
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
bd24854d56
FASTBuild: Expand TargetLabels and Config for Link Commands
2025-09-03 10:40:17 -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
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
Brad King
7eec7ca851
Merge topic 'project-version-fix'
...
aa16b8eb9a project: Revert changes to VERSION handling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11131
2025-09-03 10:17:16 -04:00
Brad King
c92268f91b
Merge topic 'curl-opt-proxytype'
...
c8143074cf cmCTestCurl: Avoid using undocumented type for CURLOPT_PROXYTYPE values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11134
2025-09-03 10:13:32 -04:00
Brad King
ab0769f25d
Merge topic 'tests-fix-generator-matching'
...
724eb18d57 RunCMake/Autogen_1: handle short expectations on VS correctly
b64226f2b4 cmGeneratorTarget: only apply short object names when necessary
b9a88d1211 Tests/UnityBuild: fix generator-specific VS unity source path expectations
dd87d25845 Tests/PrecompileHeaders: fix generator-specific pch path expectations
7ec26a5f42 Tests/RunCMake: test `RunCMake_GENERATOR` instead of `CMAKE_GENERATOR`
92cab8edae Tests/PrecompileHeaders: fix expectation for pch objects
b1ccad8651 cmGeneratorTarget: disambiguate pch objects for multi-config generators
fe0163cd23 autogen: compute short directories too
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11050
2025-09-03 09:39:51 -04:00
Kitware Robot
03a320f426
CMake Nightly Date Stamp
2025-09-03 00:05:21 -04:00
Ben Boeckel
1bf48e34f4
Ninja: escape special characters in custom command comments
...
Considerations of Ninja's control sequences was not considered in
30fb5b1b22 (Ninja: add COMMENT to build statement descriptions,
2024-05-01) via !9484 . Escape both newlines and dollar signs.
Fixes : #27181
2025-09-02 15:33:20 -04:00
Ben Boeckel
b64226f2b4
cmGeneratorTarget: only apply short object names when necessary
...
When there is no PCH extension, there is no source file necessary as the
source is not compiled at all.
2025-09-02 12:56:23 -04:00
Ben Boeckel
b1ccad8651
cmGeneratorTarget: disambiguate pch objects for multi-config generators
2025-09-02 12:56:23 -04:00
Ben Boeckel
fe0163cd23
autogen: compute short directories too
...
Not just short directory roots. The test suites did an improper
generator check and masked them as the generator masks were put in place
after the core development but before the autogen-specific logic tests
were created.
2025-09-02 12:56:23 -04:00
Eduard Voronkin
2db39a59b5
FASTBuild: fix inconsistencies in rules application
...
Fix `ApplyLinkRuleLauncher()` to apply `RULE_LAUNCH_COMPILE`.
Remove ApplyCompileRuleLauncher since it's not used and `RULE_LAUNCH_COMPILE` is handled in `AddCompilerLaunchersForLanguages()`
Fixes : #27183
2025-09-02 09:33:23 -07:00
Brad King
c8143074cf
cmCTestCurl: Avoid using undocumented type for CURLOPT_PROXYTYPE values
...
Since upstream curl commit `1a12663d06` (CURLOPT: bump `CURLPROXY_*`
enums to `long`, drop casts, 2025-07-28), the `CURLPROXY_*` constants
are integer literals instead of `enum curl_proxytype`. It turns out
that `curl_easy_setopt` has always expected a `long` anyway, and that
`curl_proxytype` is not documented for public use.
Fixes : #27178
2025-09-02 11:41:10 -04:00
Matthew Woehlke
eb51e55dcd
cmPackageInfoReader: Fix IMPORTED_CONFIGURATIONS
...
Rework how we assign imported configurations to only add configurations
that are actually imported. This requires a certain amount of cleverness
to keep the order consistent with the package's specified default
configurations, but doing this is important now that configuration
selection (see policies CMP0199 and CMP0200) is more reliant on the
IMPORTED_CONFIGURATIONS property being accurate, rather than focusing on
whether configuration-specific properties are set.
2025-09-02 11:40:18 -04:00
Matthew Woehlke
c6a6d47233
find_package: CPS targets use CMP0200
...
Tweak CPS import to actually set CMP0200 NEW on targets imported from
CPS (as the documentation claims we do).
2025-09-02 11:40:18 -04:00
Brad King
1dfe9898e6
Merge topic 'fix-config-selection'
...
a40896c0e4 cmTarget: Fix (new) configuration selection
702b7fda49 cmTarget: Improve code style
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11122
2025-09-02 10:57:56 -04:00
Brad King
54e7008e2d
Merge topic 'vs-cleanup'
...
78d9564d50 cmGlobalVisualStudio7Generator: Inline short method at only call site
034cc29b89 cmGlobalVisualStudio7Generator: Constify .sln write methods
5004602715 cmGlobalVisualStudio7Generator: Factor folder collection out of write method
6ae4ed30d9 cmGlobalVisualStudio7Generator: Factor target collection out of write method
5582eb292e cmGlobalVisualStudio7Generator: Update outdated comment
2297ba9399 cmGlobalVisualStudio7Generator: Remove redundant C++ modules check
ccbd61dd53 cmGlobalVisualStudio7Generator: Remove unused member
93e34a5e0e cmGlobalGenerator: Constify GetTargetDirectDepends
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11130
2025-09-02 10:56:09 -04:00
Brad King
a17394f334
Merge topic 'mingw-host-system-version'
...
5a919e6601 cmake: Fix CMAKE_HOST_SYSTEM_VERSION when built for MinGW
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11112
2025-09-02 10:17:33 -04:00