Kitware Robot
80c848cd10
CMake Nightly Date Stamp
2026-08-29 00:05:31 -04:00
Brad King
129c921fd0
Merge topic 'iar-fix-icstat-handler'
...
a17cbbee93 IAR: Add post-processing step in C-STAT outputs
4a8aeff8e4 IAR: Update ichecks error message
57fea01732 IAR: Fix malformed C-STAT command line
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12441
2026-08-28 09:31:26 -04:00
Brad King
c23b537168
Merge topic 'instrumentation-proc-metrics'
...
5f222e8f3a Instrumentation: Add Process Resource Usage Metrics
7204679f48 Merge branch 'upstream-KWSys' into instrumentation-proc-metrics
431a794a66 KWSys 2026-08-27 (8f4afc3e)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12381
2026-08-28 09:17:39 -04:00
Kitware Robot
68b467a889
CMake Nightly Date Stamp
2026-08-28 00:06:59 -04:00
Brad King
e115b2047e
Merge topic 'cm_unreachable'
...
09ded3a354 Help/dev: Note cm::unreachable and CM_UNREACHABLE
f460a199e3 Source: Add and use CM_UNREACHABLE macro
be415ecb74 Source: Add std::unreachable from C++23
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12429
2026-08-27 10:54:50 -04:00
Brad King
7d7a68ccd9
Merge topic 'presets_add_configurePresetName_macro'
...
02dd870535 presets: Add configurePresetName macro
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12391
2026-08-27 10:41:06 -04:00
Brad King
ba0f16f6cb
Merge topic 'ewilde/ninja-refactor-swift-builds'
...
23b33482f1 Swift: Refactor module / object builds
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12438
2026-08-27 10:36:55 -04:00
Martin Duffy
5f222e8f3a
Instrumentation: Add Process Resource Usage Metrics
...
Issue: #26675 , #27742
2026-08-27 10:24:25 -04:00
Brad King
7204679f48
Merge branch 'upstream-KWSys' into instrumentation-proc-metrics
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2026-08-27 (8f4afc3e)
2026-08-27 10:24:22 -04:00
Kitware Robot
f3e773be3e
CMake Nightly Date Stamp
2026-08-27 00:05:05 -04:00
Felipe Torrezan
a17cbbee93
IAR: Add post-processing step in C-STAT outputs
...
Harmonize IAR C-STAT headers between the first-time analysis
and subsequent builds, which uses cached results.
It also removes spurious relative paths such as `"../` and
`..\` that might appear after a new line followed by a double quote.
Effectively this will display paths relative to CMAKE_SOURCE_DIR,
similarly to the IDE, which display paths relative to $PROJ_DIR$.
Update the IAR tests to match the new C-STAT outputs.
2026-08-26 23:10:43 +02:00
Felipe Torrezan
4a8aeff8e4
IAR: Update ichecks error message
...
Update the C-STAT Checks Manifest Handler to contain
explicit reference to C-STAT for facilitating diagnostics.
2026-08-26 22:35:23 +02:00
Felipe Torrezan
57fea01732
IAR: Fix malformed C-STAT command line
...
There was an issue with a malformed command line introduced in
commit c7d2a172 (IAR: Add support for C-STAT static analysis,
2025-04-08, v4.1.0-rc1~385^2), where the source file was
incorrectly passed as a parameter when executing `icstat` in
HandleIcstat(). `icstat` does not take the source file as a
direct parameter.
2026-08-26 22:18:45 +02:00
Tyler Yankee
f460a199e3
Source: Add and use CM_UNREACHABLE macro
...
In debug builds, we assert and abort to give more useful crashes for
development (i.e., instead of triggering UB). Otherwise, we get the
optimization benefits of `unreachable()` (or the older
platform-specific fallbacks per `cm/utility`).
2026-08-26 13:24:34 -04:00
Brad King
6ec33a4d0a
Merge topic 'icstat-co-compile-source-file'
...
1470d96c44 IAR: Pass source file to C-STAT co-compile analysis
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12422
2026-08-26 09:21:14 -04:00
Kitware Robot
825bcff387
CMake Nightly Date Stamp
2026-08-26 00:04:54 -04:00
Maximilian Sander
02dd870535
presets: Add configurePresetName macro
...
Fixes : #28028
2026-08-25 14:33:10 -04:00
Brad King
a584d8ed75
Merge topic 'system-env-id'
...
fc3c71d11f cmake: Add cached environment id that triggers reconfigure when changed
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12420
2026-08-25 11:47:48 -04:00
Brad King
b12192a593
Merge topic 'preset-template-helpers'
...
fffec0f86e presets: Extract common JSON field binds to helper
a1e4b92270 presets: Extract preset registration to helper
0029686e86 presets: Extract configure dependency resolution to helper
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12428
2026-08-25 11:32:27 -04:00
Kitware Robot
65e2e7690e
CMake Nightly Date Stamp
2026-08-25 00:05:10 -04:00
Aiden Woodruff
fc3c71d11f
cmake: Add cached environment id that triggers reconfigure when changed
...
The opaque `CMAKE_SYSTEM_ENVIRONMENT_ID` variable is cached during the
first invocation of `cmake` and is a user-defined hint about the state
of the environment. When the value changes, `cmake` either does nothing,
emits a warning (by default), or refreshes the cache as if by `--fresh`.
The action is controlled by the `CMAKE_SYSTEM_ENVIRONMENT_ACTION`
environment variable (which is not cached).
Implements: #28025
2026-08-24 15:06:35 -04:00
Brad King
244b563b43
Merge topic 'autogen-vs-reduce-target-count'
...
d963b87ab4 Autogen: Reduce the number of targets under Visual Studio
2b5ad7e395 Autogen: Register per-config timestamp file with its full path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12409
2026-08-24 12:31:33 -04:00
Brad King
e903d46b9a
Merge topic 'install-TARGETS-default-MODULE'
...
8072e80f4b install(TARGETS): Add default destination for MODULE libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12403
2026-08-24 12:27:07 -04:00
Brad King
568b7bee83
Merge topic 'presets-list-defined'
...
2a9cde8b6e presets: Add defined listings with unavailable reasons
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12367
2026-08-24 12:22:13 -04:00
Brad King
3ed98a45a8
Merge topic 'makefiles-output-sync'
...
e135fd8e44 Makefiles: Group parallel build output via GNU Make --output-sync
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12399
2026-08-24 12:19:01 -04:00
Brad King
7cc55e2db4
Merge topic 'ctest-repeat-number-of-runs'
...
135c7aa1f1 ctest: Add test rerun index "(run XX/YY)" to output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Taylor Braun-Jones <taylor@braun-jones.org >
Merge-request: !12392
2026-08-24 12:06:15 -04:00
Brad King
0b60b6ebbf
Merge topic 'ccmake-backspace-field-edit-ctrl-h'
...
319eade1c2 ccmake: Accept Ctrl+H as Backspace in cache-entry field editor
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Eyal Rozenberg <eyalroz1@gmx.com >
Merge-request: !12421
2026-08-24 12:00:48 -04:00
Brad King
73bb96d986
Merge topic 'jsonstate-install'
...
4f25560fc6 cmInstallScriptHandler: Remove unused JSON reader
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12415
2026-08-24 11:46:05 -04:00
Brad King
eb708db6f8
Merge topic 'sphinx-copybutton'
...
392a79b910 Help/dev: Document use of sphinx-copybutton
1c5e70c9d0 bootstrap: Add --sphinx-html-copybutton option
1b1225a766 ci: Enable Sphinx copybutton for cmake.org and Sphinx jobs
6e2301357d ci: Add sphinx-copybutton extension to Fedora base image
ad5a65dd34 Utilities/Sphinx: Add option to build with copybutton
59875d4a08 Tests/FindImageMagick: Tolerate pre-release versions
45a426a4e3 codespell: Fix some hyphenated spellings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12424
2026-08-24 11:34:23 -04:00
Brad King
cb3d63a245
Merge topic 'jsonstate-pkginforeader'
...
b14b613cec CPS: Use cmJSONState to read package JSON files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12414
2026-08-24 11:11:18 -04:00
Brad King
cb89e8d15f
Merge topic 'jsonstate-ninja'
...
26f6dab469 Ninja: Use cmJSONState for -E cmake_ninja_* commands
3796649167 cmJSONState: Avoid UB on empty error message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12405
2026-08-24 11:06:43 -04:00
Kitware Robot
b7b55e306b
CMake Nightly Date Stamp
2026-08-24 00:10:44 -04:00
Tyler Yankee
fffec0f86e
presets: Extract common JSON field binds to helper
2026-08-23 07:25:05 -04:00
Tyler Yankee
a1e4b92270
presets: Extract preset registration to helper
2026-08-23 07:25:05 -04:00
Tyler Yankee
0029686e86
presets: Extract configure dependency resolution to helper
2026-08-23 07:25:05 -04:00
Kitware Robot
30a6e89923
CMake Nightly Date Stamp
2026-08-23 00:05:48 -04:00
Kitware Robot
03676b051d
CMake Nightly Date Stamp
2026-08-22 00:05:25 -04:00
Tyler Yankee
45a426a4e3
codespell: Fix some hyphenated spellings
...
These were surfaced by an updated `codespell` in the `spellcheck` CI
base image.
2026-08-21 09:43:48 -04:00
Maxime Haselbauer and Tyler Yankee
135c7aa1f1
ctest: Add test rerun index "(run XX/YY)" to output
...
This makes the output more user friendly when using CTest's repeat
options (`until-fail`, `until-pass` `after-timeout`).
Closes : #28039
Co-authored-by: Tyler Yankee <tyler.yankee@kitware.com >
2026-08-21 09:11:52 -04:00
Brad King
e2a8abcb03
Merge topic 'update-kwsys'
...
21063dc0c0 Merge branch 'upstream-KWSys' into update-kwsys
32911ff9d2 KWSys 2026-08-21 (c1021f19)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12418
2026-08-21 08:56:01 -04:00
Brad King
21063dc0c0
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2026-08-21 (c1021f19)
2026-08-21 08:52:45 -04:00
Kitware Robot
c5a5c4a6e2
CMake Nightly Date Stamp
2026-08-21 00:07:47 -04:00
15daksh-2003
1470d96c44
IAR: Pass source file to C-STAT co-compile analysis
...
The <LANG>_ICSTAT co-compile appended --source= only when another
linter (tidy/cpplint/cppcheck/pvs) was also active, so a C-STAT-only
target ran `icstat analyze "" -- ...` with an empty file argument.
Add icstat to the --source= condition so C-STAT gets the real path.
Fixes : #28045
2026-08-21 00:55:59 +05:30
15daksh-2003
319eade1c2
ccmake: Accept Ctrl+H as Backspace in cache-entry field editor
...
Some terminals (and native-Windows PDCurses) send ^H (0x08) for
Backspace, which the field editor left unhandled while the search
field already accepted it. Recognize ctrl('h') alongside 127 and
KEY_BACKSPACE.
Fixes : #27573
2026-08-20 20:15:11 +05:30
Tyler Yankee
26f6dab469
Ninja: Use cmJSONState for -E cmake_ninja_* commands
...
This approach will be more portable.
2026-08-20 08:38:56 -04:00
Tyler Yankee
3796649167
cmJSONState: Avoid UB on empty error message
...
The caller for `GetErrorMessage` _should_ only be calling this method
if there actual errors (i.e., `!errors.empty()`). However, in the
incidental absence of the intended usage, avoid `pop_back` on an empty
string.
2026-08-20 08:37:00 -04:00
Kitware Robot
419e5f0d6b
CMake Nightly Date Stamp
2026-08-20 00:05:54 -04:00
Tyler Yankee
b14b613cec
CPS: Use cmJSONState to read package JSON files
...
This approach will be more portable.
2026-08-19 19:05:07 -04:00
Maximilian Sander
2a9cde8b6e
presets: Add defined listings with unavailable reasons
...
Add workflow and per-type defined values to cmake --list-presets.
Each -defined value lists every non-hidden preset of the selected type
and explains why unavailable presets cannot be used. The defined value
is an alias for configure-defined.
Support --list-presets=defined in cmake build and workflow modes,
ctest, and cpack. Propagate configure preset unavailability to
dependent build, test, package, and workflow presets.
Fixes : #28016 , #26118
2026-08-19 16:47:50 +02:00
Kitware Robot
80066f9851
CMake Nightly Date Stamp
2026-08-19 00:18:01 -04:00