Brad King
672ddaa5b7
Merge branch 'release-4.3' into release-4.4
2026-06-17 10:22:00 -04:00
Brad King
c2fd48014f
CMake 4.3.4
v4.3.4
2026-06-17 09:53:06 -04:00
Brad King
0e9598ba0e
Merge branch 'release-4.3' into release-4.4
2026-06-17 09:40:23 -04:00
Brad King
8cf3d277b7
Merge branch 'release-4.2' into release-4.3
2026-06-17 09:40:16 -04:00
Brad King
24581cbe98
CMake 4.2.7
v4.2.7
2026-06-17 09:01:47 -04:00
Brad King
d20e909f3d
Merge topic 'if-diagnostic' into release-4.4
...
597c573d7d if: Add `DIAGNOSTIC <category>` condition
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12181
2026-06-17 08:54:47 -04:00
Brad King
d6bf8d4fef
Merge branch 'release-4.3' into release-4.4
2026-06-17 08:50:56 -04:00
Brad King
7450dc05ae
Merge topic 'fix-cps-requires-crash' into release-4.4
...
01f8d249bf CPS: Fix crash when package `requires` isn't an object
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12182
2026-06-17 08:49:09 -04:00
Brad King
a9b2eb4e9f
Merge topic 'fix-cps-requires-crash' into release-4.3
...
01f8d249bf CPS: Fix crash when package `requires` isn't an object
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12182
2026-06-17 08:48:14 -04:00
Brad King
25eb4244db
Merge topic 'ExternalProject-env-quoting' into release-4.4
...
036c331b97 ExternalProject: Fix ENVIRONMENT_MODIFICATION with spaces in values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12178
2026-06-17 08:45:31 -04:00
Brad King
a7b307cfb7
Merge branch 'release-4.2' into release-4.3
2026-06-17 08:45:11 -04:00
Brad King
25aa28f880
Merge topic 'ExternalProject-env-quoting' into release-4.3
...
036c331b97 ExternalProject: Fix ENVIRONMENT_MODIFICATION with spaces in values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12178
2026-06-17 08:45:02 -04:00
Brad King
e8f0a51d6c
Merge topic 'ExternalProject-env-quoting' into release-4.2
...
036c331b97 ExternalProject: Fix ENVIRONMENT_MODIFICATION with spaces in values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12178
2026-06-17 08:43:11 -04:00
Matthew Woehlke
597c573d7d
if: Add DIAGNOSTIC <category> condition
...
Add an existence check to the `if` command for diagnostic categories,
mirroring the check for policies. Aside from being desirable for
consistency's sake, this will make it easier for users to write logic to
manipulate diagnostics from newer versions of CMake that don't exist
today.
2026-06-16 15:14:13 -04:00
Matthew Woehlke
01f8d249bf
CPS: Fix crash when package requires isn't an object
...
Check whether a package `requires` is actually an object before trying
to iterate over it.
2026-06-16 15:03:05 -04:00
Brad King
35128a5186
Merge topic 'ctest_propagate_site_buildname' into release-4.4
...
433721b7a7 ctest: Pass CTEST_SITE/CTEST_BUILD_NAME to configure step
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12176
2026-06-16 10:26:46 -04:00
Brad King
a124a00544
Merge topic 'instrumentation-snippet-schema' into release-4.4
...
bf71991174 instrumentation: Add JSON schema for snippet files
b736acdc3b Tests/instrumentation: Check errors for query schema validation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12170
2026-06-16 10:24:30 -04:00
Brad King
b9a8b78822
Merge topic 'extract-tar-resource-leak-path' into release-4.4
...
c31361d089 file(ARCHIVE_EXTRACT): Fix resource leaks on error paths
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12174
2026-06-16 10:21:50 -04:00
Brad King
8bbfb3611e
Merge topic 'clang-scan-deps-no-toolchain-prefix' into release-4.4
...
5537b3d60e Clang-FindBinUtils: find unprefixed `clang-scan-deps` binaries as well
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12165
2026-06-16 10:18:14 -04:00
Brad King
7c6bde239c
Merge topic 'FindDoxygen-error-quiet' into release-4.4
...
8e6e392962 FindDoxygen: Avoid leaking child process stderr
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12169
2026-06-16 10:15:07 -04:00
Brad King
b87d1c5a50
Merge topic 'GoogleTest-discovery-clutter' into release-4.4
...
b5f555f687 GoogleTest: Avoid cluttering custom working directory during discovery
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12155
2026-06-16 10:12:41 -04:00
Brad King
b486e8d3f3
Merge topic 'doc-sphinx-pre-5.0' into release-4.4
...
01b94f5702 Help: Restore sphinx pre-5.0 compatibility
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12175
2026-06-16 10:02:05 -04:00
Brad King
50050c3df0
Merge branch 'release-4.3' into release-4.4
2026-06-16 09:58:17 -04:00
Brad King
cfc5c161b3
Merge topic 'ExternalData-debug-message' into release-4.4
...
271e17d7ec ExternalData: Remove redundant debug message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12171
2026-06-16 09:57:34 -04:00
Brad King
d06928a867
Merge branch 'release-4.2' into release-4.3
2026-06-16 09:57:02 -04:00
Brad King
f61ec311b9
Merge branch 'release-4.1' into release-4.2
2026-06-16 09:56:58 -04:00
Brad King
4a4725cc94
Merge branch 'release-4.0' into release-4.1
2026-06-16 09:56:48 -04:00
Brad King
b7cc1599dd
Merge topic 'ExternalData-debug-message' into release-4.3
...
271e17d7ec ExternalData: Remove redundant debug message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12171
2026-06-16 09:56:40 -04:00
Brad King
e851a53bb8
Merge topic 'ExternalData-debug-message' into release-4.2
...
271e17d7ec ExternalData: Remove redundant debug message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12171
2026-06-16 09:56:31 -04:00
Brad King
36171891a6
Merge topic 'ExternalData-debug-message' into release-4.1
...
271e17d7ec ExternalData: Remove redundant debug message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12171
2026-06-16 09:56:22 -04:00
Brad King
16300ffecc
Merge topic 'ExternalData-debug-message' into release-4.0
...
271e17d7ec ExternalData: Remove redundant debug message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12171
2026-06-16 09:55:59 -04:00
Brad King
036c331b97
ExternalProject: Fix ENVIRONMENT_MODIFICATION with spaces in values
...
Fix commit e301cbffcc (ExternalProject: Set environment variables,
2025-04-09, v4.2.0-rc1~480^2) to quote arguments for ``EVAL CODE``,
used since commit cbf2daeed0 (ExternalProject: Preserve empty string
arguments, 2020-05-15, v3.18.0-rc1~99^2~1).
Fixes : #27876
2026-06-15 14:46:24 -04:00
Daksh Mamodiya
c31361d089
file(ARCHIVE_EXTRACT): Fix resource leaks on error paths
...
extract_tar() allocates archive_read, archive_write_disk, and
archive_match handles, but several early-return error paths did not free
them. Most notably, a PATTERNS entry matching nothing leaked all three
handles on every call, which accumulates inside a long-running
configure.
Scope the three handles with std::unique_ptr custom deleters so every
return path releases them automatically. std::unique_ptr does not
invoke the deleter for a null pointer, and the libarchive *_free
functions are themselves no-ops on null, so no explicit guarding is
required. archive_read_free()/archive_write_free() implicitly close the
handle if needed, matching the previous behavior.
Fixes : #27872
2026-06-15 11:47:24 -04:00
John Parent
01b94f5702
Help: Restore sphinx pre-5.0 compatibility
...
Revise commit 97d13c3053 (Help: Improve diagnostics documentation,
2026-04-30, v4.4.0-rc1~227^2~2) to switch `cmake.py`'s sphinx api usage
from 7.4+ features to 4.0+ features.
Replace `parse_text_to_nodes` and `parse_content_to_nodes` with
equivalent, backwards compatible sphinx code using existing api calls.
Signed-off-by: John Parent <john.parent@kitware.com >
2026-06-15 11:35:41 -04:00
Jakob Ronestjärna
271e17d7ec
ExternalData: Remove redundant debug message
2026-06-15 11:25:03 -04:00
Ottmar Zittlau
b5f555f687
GoogleTest: Avoid cluttering custom working directory during discovery
...
Since commit 1cdceae8e3 (GoogleTest: Parse discovered test list from
JSON output if supported, 2025-05-02, v4.2.0-rc1~533^2~2) we've placed
the discovery JSON files in the working directory provided by the user.
Place them in the current build tree folder instead.
Fixes : #27840
2026-06-15 11:14:59 -04:00
James Miro
8e6e392962
FindDoxygen: Avoid leaking child process stderr
...
Fixes : #27869
2026-06-15 10:59:34 -04:00
Zack Galbreath
433721b7a7
ctest: Pass CTEST_SITE/CTEST_BUILD_NAME to configure step
...
When performing the configure step in dashboard client mode, propagate
`CTEST_SITE` and `CTEST_BUILD_NAME` as the `SITE` and `BUILDNAME`
respective cache variables.
This causes the values recorded in `DartConfiguration.tcl` to match those
specified by the user, allowing subsequent ctest calls to reuse them
automatically.
2026-06-15 10:56:11 -04:00
Tyler Yankee
bf71991174
instrumentation: Add JSON schema for snippet files
...
Issue: #27504
2026-06-15 10:35:53 -04:00
Brad King
57cdfc193d
Merge topic 'export-diagnostic-context' into release-4.4
...
a557231285 Exports: Capture context for diagnostics
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12166
2026-06-15 10:35:28 -04:00
Tyler Yankee
b736acdc3b
Tests/instrumentation: Check errors for query schema validation
2026-06-15 10:35:27 -04:00
Brad King
cdd5dbbba5
Merge branch 'release-4.3' into release-4.4
2026-06-15 10:29:56 -04:00
Brad King
09b9fc300b
Merge topic 'instrumentation-data-version-minor' into release-4.4
...
5405a8a7e3 Help: Add release note for the instrumentation version format change in 4.3.4
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Tyler Yankee <tyler.yankee@kitware.com >
Merge-request: !12168
2026-06-15 10:29:28 -04:00
Brad King
ea9ebc7a7b
Merge topic 'ctest_configure_preset_binarydir' into release-4.4
...
3b6247a148 ctest: Honor preset binaryDir for initial configuration
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12167
2026-06-15 10:23:53 -04:00
Brad King
2919abc974
Merge topic 'instrumentation-data-version-minor' into release-4.3
...
5405a8a7e3 Help: Add release note for the instrumentation version format change in 4.3.4
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12168
2026-06-15 10:16:39 -04:00
Zack Galbreath
3b6247a148
ctest: Honor preset binaryDir for initial configuration
...
Prior to this commit, ctest would sometimes use the current working directory
as its binary directory rather than honoring `binaryDir` from a configure
preset. This would occur when using ctest in dashboard client mode to perform
an initial configuration with a preset.
`ctest --source-dir=<dir> -T Configure -D CTEST_PRESET=<preset>`
An explicit `--build-dir` still takes precedence over the preset's `binaryDir`.
2026-06-13 08:50:33 -04:00
Brad King
5405a8a7e3
Help: Add release note for the instrumentation version format change in 4.3.4
...
This was missed in commit df36317176 (instrumentation: Revise Data
Version format, 2026-05-29, v4.4.0-rc1~43^2^2).
Closes : #27870
2026-06-12 09:22:55 -04:00
Matthew Woehlke
a557231285
Exports: Capture context for diagnostics
...
Modify install exports to make use of the install generator's captured
diagnostic context. Modify build exports to capture and use a diagnostic
context. This allows diagnostics issued by export file generation to use
the diagnostic context from the instigating command, and to provide a
backtrace to the same.
2026-06-11 17:06:12 -04:00
Ben Boeckel
5537b3d60e
Clang-FindBinUtils: find unprefixed clang-scan-deps binaries as well
...
Apparently Gentoo (and upstream builds) do not add prefixes to the
associated tools. Alas, such things exist, so we should support them.
Fixes : #27858
2026-06-11 16:10:03 -04:00
Brad King
adcfdb6d3c
CMake 4.4.0-rc1
v4.4.0-rc1
2026-06-11 12:02:46 -04:00