Commit Graph
76765 Commits
Author SHA1 Message Date
Kitware Robot 3d0f2256a6 CMake Nightly Date Stamp 2026-07-31 00:05:23 -04:00
Brad King 0685dc11db Merge branch 'release-4.4' 2026-07-30 11:54:21 -04:00
Brad King 5a2b833dee Merge topic 'tests-instrumentation-split-make'
1eaad77e3f Merge branch 'backport-tests-instrumentation-split-make'
26e6188e04 Tests/Instrumentation: Split make cases out to separate suite
6eedfce567 Tests/Instrumentation: Fix indentation level of make cases
fb200b417a Tests/Instrumentation: Re-home interrupt case to bottom
cfede7be9d Tests/Instrumentation: Split make cases out to separate suite

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12337
2026-07-30 11:54:21 -04:00
Brad King 33a9ce0cd9 Merge topic 'tests-instrumentation-split-make' into release-4.4
cfede7be9d Tests/Instrumentation: Split make cases out to separate suite

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12337
2026-07-30 11:54:19 -04:00
Brad King 6fa0c6114b Merge topic 'fix-missing-rst-roles'
a9e89fec6d cmRST: Add missing roles

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12348
2026-07-30 11:52:27 -04:00
Brad King 0f556ca580 Merge topic 'improve-rst-output'
afd937eb3e cmRST: Split parsing into two phases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12339
2026-07-30 11:51:07 -04:00
Brad King f1b9d54f43 Merge topic 'improve_workflow_configurePreset_error_msg'
18b8743037 presets: Detail conflicting diagnostic settings
d4bb9f2c53 presets: Diagnose invalid test filter index types
b1d80531dc presets: Diagnose non-string workflow step types
e928b9327a presets: Identify unreachable inherited presets
0779279585 presets: Identify unreachable configure references
9f28db13e6 presets: Identify unknown configure preset references
7de3c48731 Add '\n' to error output, missed in f134468a98
7ccff59b07 presets: Name malformed preset collections
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12329
2026-07-30 11:49:02 -04:00
Brad King 26117499b3 Merge topic 'fastbuild-many-custom-target-dependencies'
696b9fd218 fastbuild: support long list of custom target dependencies
566d284457 fastbuild: remove useless std::string building

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12345
2026-07-30 11:47:16 -04:00
Brad King 7ac03222ea Merge topic 'watcom-plus-in-file-name'
0bccfbcf0a watcom: support '+' symbol in file names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12338
2026-07-30 11:45:13 -04:00
Brad King 54c718ad23 Merge topic 'move-get-actual-case-path'
93c3793829 cmSystemTools: adopt the `GetActualCaseForPath` method from KWSys

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12343
2026-07-30 11:43:10 -04:00
Brad King 6563ddeea3 Merge topic 'better-tty-preset-macro-refs'
c00106b20f Help: Improve formatting of presets manual

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12340
2026-07-30 11:36:00 -04:00
Brad King 197ff7d364 Merge branch 'release-4.4' 2026-07-30 11:30:59 -04:00
Brad King eaf91d94c2 Merge topic 'test-check-required-flags'
fd6f2555d4 Tests: Cover CMAKE_REQUIRED_FLAGS in Check* modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12346
2026-07-30 11:30:58 -04:00
Brad King c01169db6e Merge topic 'test-check-required-flags' into release-4.4
fd6f2555d4 Tests: Cover CMAKE_REQUIRED_FLAGS in Check* modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12346
2026-07-30 11:30:56 -04:00
Brad King 35f96f80ca Merge branch 'release-4.4' 2026-07-30 11:27:44 -04:00
Brad King 13e8dbad0f Merge topic 'CheckSymbolExists-required-flags'
e81906d12e CheckSymbolExists: Restore support for CMAKE_REQUIRED_FLAGS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Tom Pollard <tom_pollard@hotmail.co.uk>
Merge-request: !12342
2026-07-30 11:27:44 -04:00
Brad King c045678bf6 Merge topic 'CheckSymbolExists-required-flags' into release-4.4
e81906d12e CheckSymbolExists: Restore support for CMAKE_REQUIRED_FLAGS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Tom Pollard <tom_pollard@hotmail.co.uk>
Merge-request: !12342
2026-07-30 11:27:41 -04:00
Brad King 3937a9fab3 Merge branch 'release-4.4' 2026-07-30 11:24:16 -04:00
Brad King dfdb3de24e Merge topic 'tests-split-ninjamc'
f880286604 Tests/NinjaMultiConfig: Split into three variants

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12344
2026-07-30 11:24:16 -04:00
Brad King 52f014bff2 Merge topic 'tests-split-ninjamc' into release-4.4
f880286604 Tests/NinjaMultiConfig: Split into three variants

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12344
2026-07-30 11:24:14 -04:00
Brad King 8735a57e71 Merge branch 'release-4.4' 2026-07-30 11:21:40 -04:00
Brad King f4341b03e2 Merge topic 'ci-tart-image'
0abb5d7f99 ci: update to a reduced macos base image for jobs on tart runners

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12341
2026-07-30 11:21:39 -04:00
Brad King 355d018298 Merge topic 'ci-tart-image' into release-4.4
0abb5d7f99 ci: update to a reduced macos base image for jobs on tart runners

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12341
2026-07-30 11:21:36 -04:00
Brad King 1eaad77e3f Merge branch 'backport-tests-instrumentation-split-make' 2026-07-30 11:18:41 -04:00
Tyler Yankee 26e6188e04 Tests/Instrumentation: Split make cases out to separate suite
These tests experience frequent timeouts in CI, which are either actual
timeouts due to low resource runners, or a platform-specific bug
causing an indefinite hang. Either way, it's beneficial to locate these
in their own test suite to reduce noise and ensure the rest of the
tests pass regularly.
2026-07-30 11:14:48 -04:00
Kitware Robot ec0588416e CMake Nightly Date Stamp 2026-07-30 00:05:36 -04:00
Josef Šimánek fd6f2555d4 Tests: Cover CMAKE_REQUIRED_FLAGS in Check* modules
Commit a72e241200 (Check*: Restore more toleration of `;-W...` in
CMAKE_REQUIRED_FLAGS, 2026-07-21) updated the Check* modules to share
required-flag handling without adding coverage for those paths.
Exercise each probe with required definitions followed by a warning
option.

Without the compatibility handling, CMake rejects the warning option.
Without the required definitions, all seven checks fail to find their
header, functions, prototype, or type.

Issue: #28001
2026-07-29 17:27:21 -04:00
Matthew Woehlke afd937eb3e cmRST: Split parsing into two phases
Refactor cmRST to split parsing into two phases; one which processes
directives and collects lines to be output, and a second which performs
the actual output. In particular, this fixes substitutions not being
replaced when the definition appears after usage.

To facilitate this, refactor how replacement definitions are collected
so that content included via `toctree` has a separate replacement
context.

Also, record the length of the previously output line, so that when
headings are detected, we can reconstruct the markup to match the
(potentially changed by replacements) final length of the header text.
2026-07-29 15:04:59 -04:00
Matthew Woehlke a9e89fec6d cmRST: Add missing roles
Our Sphinx extensions recognize several roles that missed being added to
our internal C++ parser (`cmRST`). Update the latter with the missing
roles, bringing the two back in sync. This addresses several roles that
`cmRST` was previously leaving as inline markup that more appropriately
should be converted to literal text.
2026-07-29 15:00:40 -04:00
Ben Boeckel 93c3793829 cmSystemTools: adopt the GetActualCaseForPath method from KWSys
No other project uses it and it simplifies KWSys.
2026-07-29 14:15:27 -04:00
Tyler Yankee 6eedfce567 Tests/Instrumentation: Fix indentation level of make cases 2026-07-29 12:59:21 -04:00
Tyler Yankee fb200b417a Tests/Instrumentation: Re-home interrupt case to bottom
Prepare for a future commit which adds another test suite by
consistently locating all variants at the bottom.
2026-07-29 12:59:21 -04:00
Maximilian Sander 18b8743037 presets: Detail conflicting diagnostic settings 2026-07-29 18:20:32 +02:00
Maximilian Sander d4bb9f2c53 presets: Diagnose invalid test filter index types 2026-07-29 18:20:32 +02:00
Maximilian Sander b1d80531dc presets: Diagnose non-string workflow step types 2026-07-29 18:20:23 +02:00
AJIOB 696b9fd218 fastbuild: support long list of custom target dependencies
Fixes: #27984
2026-07-29 18:44:29 +03:00
AJIOB 0bccfbcf0a watcom: support '+' symbol in file names
Fixes: #27986
2026-07-29 18:35:25 +03:00
AJIOB 566d284457 fastbuild: remove useless std::string building 2026-07-29 18:11:56 +03:00
Josef Šimánek e81906d12e CheckSymbolExists: Restore support for CMAKE_REQUIRED_FLAGS
Refactoring in commit a72e241200 (Check*: Restore more toleration of
`;-W...` in CMAKE_REQUIRED_FLAGS, 2026-07-21, v4.4.1~12^2) changed the
pattern that `Check*` modules use to forward `CMAKE_REQUIRED_FLAGS` to
`try_compile` calls.  However, it accidentally left out part of the new
pattern in the `CheckSymbolExists` module.  Fix that and add tests.

Fixes: #28001
2026-07-29 11:02:57 -04:00
Tyler Yankee cfede7be9d Tests/Instrumentation: Split make cases out to separate suite
These tests experience frequent timeouts in CI, which are either actual
timeouts due to low resource runners, or a platform-specific bug
causing an indefinite hang. Either way, it's beneficial to locate these
in their own test suite to reduce noise and ensure the rest of the
tests pass regularly.
2026-07-29 10:59:42 -04:00
Tyler Yankee f880286604 Tests/NinjaMultiConfig: Split into three variants
These experience timeouts in CI. Split into three equally-ish sized
buckets so each can run independently.
2026-07-29 10:51:04 -04:00
Brad King 0abb5d7f99 ci: update to a reduced macos base image for jobs on tart runners
We have a new image that removes unnecessary macOS services and
leftover setup files.
2026-07-29 10:37:48 -04:00
Brad King 8a947d73d5 Merge topic 'warn-non-target-directives'
00959286b9 Diagnostics: Warn about non-target directives

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12172
2026-07-29 10:34:27 -04:00
Brad King 742668c64a Merge topic 'delete_regv-test'
7608148194 Tests: Harden assertions around {write,delete}_regv

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12328
2026-07-29 10:31:53 -04:00
Kitware Robot bd2d6c8f39 CMake Nightly Date Stamp 2026-07-29 00:05:51 -04:00
Matthew Woehlke c00106b20f Help: Improve formatting of presets manual
Tweak how we reference preset macros so that references also carry
'literal' markup. While this provides a modest improvement to HTML
rendered help, it primarily serves to apply 'literal' formatting
consistently for TTY output (`cmake --help-presets`).
2026-07-28 17:01:59 -04:00
Matthew Woehlke 00959286b9 Diagnostics: Warn about non-target directives
Introduce `CMD_STRICT` to act as a parent for warnings about allowed but
disrecommended usage. Introduce a warning that discourages use of
non-target directives (which modify the build environment for the entire
[sub]tree). Add notes to the official documentation recommending use of
target-specific alternatives. This has been accepted wisdom for quite
some time, but only some of the affected commands made any mention of
this in the documentation.
2026-07-28 11:38:20 -04:00
Brad King b5efecc945 Merge branch 'release-4.4' 2026-07-28 10:59:30 -04:00
Brad King d1cffecacd CMake 4.4.1 v4.4.1 2026-07-28 10:26:50 -04:00
Tyler Yankee 7608148194 Tests: Harden assertions around {write,delete}_regv
Issue: #27990
2026-07-28 09:59:22 -04:00