Commit Graph
77289 Commits
Author SHA1 Message Date
Kitware Robot 08bde1b972 CMake Nightly Date Stamp 2026-09-18 00:06:46 -04:00
Kitware Robot 833d9466d7 CMake Nightly Date Stamp 2026-09-17 00:05:34 -04:00
Brad King a30ad325f4 Merge topic 'instrumentation-cdash-file-check'
77443e7258 instrumentation: Don't expect staged CDash files when cdashSubmit is disabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Tested-by: Aiden Woodruff <aiden.woodruff@kitware.com>
Merge-request: !12508
2026-09-16 14:39:28 -04:00
Brad King 61a28e735b Merge topic 'clang-cuda-offload-warn-unsupported'
616f65b379 Clang/CUDA: Warn when using offloading driver with RDC + PTX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12500
2026-09-16 13:44:17 -04:00
Kitware Robot 27408540d4 CMake Nightly Date Stamp 2026-09-16 00:05:39 -04:00
Brad King 7e798bb389 Merge topic 'cmake-gui-preset-apply-ordering'
fdc2c2b9c7 cmake-gui: settle preset application before Configure/Generate

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12502
2026-09-15 11:29:28 -04:00
Robert Maynard 616f65b379 Clang/CUDA: Warn when using offloading driver with RDC + PTX
Fixes: #28084
2026-09-15 11:01:04 -04:00
Brad King 8b8d185b42 Merge topic 'ci-linkcheck'
246e72e4a9 Help: Replace OpenBLAS links with their permanent redirects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12511
2026-09-15 10:13:36 -04:00
Brad King a07b6e2a4d Merge topic 'improve-install-code-script'
2673161b67 install: Improve documentation, argument parsing

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12501
2026-09-15 09:58:50 -04:00
Brad King b0499f43d0 Merge topic 'Sources-various-enhancements'
bc4e849e50 cmValue: introduce constants cmValue::True and cmValue::False
a570ee4c8f cmPlaceHolderExpander: Add recognition of genex
b53f05cd8c cmArgumentParser: enhance multi command management
a53691b73a cmCustomCommand: reduce raw pointer usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12506
2026-09-15 09:55:15 -04:00
Brad King 7b5df521e8 Merge topic 'reduce-realloc'
c8b93b9db6 Source: Reduce string allocations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12503
2026-09-15 09:49:34 -04:00
Brad King 3be3bae3ad Merge topic 'doc-D-list'
beec3faeee Help: Add note to avoid trailing backslashes in paths passed via `cmake -D`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: AnyOldName3 <krizdjali@gmail.com>
Merge-request: !12507
2026-09-15 09:44:05 -04:00
Brad King c012ec02cc Merge topic 'test-cuda'
6131353bff Tests/Cuda: Skip unsupported case using Clang offloading driver with RDC + PTX
91f4a420cd Tests/Cuda: Remove redundant condition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !12505
2026-09-15 09:38:23 -04:00
Brad King 246e72e4a9 Help: Replace OpenBLAS links with their permanent redirects 2026-09-15 08:23:58 -04:00
Kitware Robot d099b15c62 CMake Nightly Date Stamp 2026-09-15 00:08:13 -04:00
Craig Scott 15e476809c Merge topic 'fetchcontent-custom-command-verbosity-change'
d410092ece FetchContent: Move log level detection into step script

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Claus Klein <claus.klein@arcormail.de>
Merge-request: !12504
2026-09-14 17:42:28 -04:00
Martin Duffy 77443e7258 instrumentation: Don't expect staged CDash files when cdashSubmit is disabled 2026-09-14 15:38:40 -04:00
Brad King beec3faeee Help: Add note to avoid trailing backslashes in paths passed via cmake -D
Closes: #28089
2026-09-14 13:51:52 -04:00
Marc Chevrier bc4e849e50 cmValue: introduce constants cmValue::True and cmValue::False 2026-09-14 18:24:48 +02:00
Marc Chevrier a570ee4c8f cmPlaceHolderExpander: Add recognition of genex
Add a mode to ensure genex at kept as is.
2026-09-14 18:24:48 +02:00
Marc Chevrier b53f05cd8c cmArgumentParser: enhance multi command management 2026-09-14 18:24:48 +02:00
Marc Chevrier a53691b73a cmCustomCommand: reduce raw pointer usage 2026-09-14 18:24:48 +02:00
Robert Maynard 6131353bff Tests/Cuda: Skip unsupported case using Clang offloading driver with RDC + PTX
Issue: #28084
2026-09-14 11:18:21 -04:00
Robert Maynard 91f4a420cd Tests/Cuda: Remove redundant condition
`CMake_TEST_CUDA` must be set to enter this directory.
2026-09-14 11:17:35 -04:00
Brad King f5efe7a6b5 Merge topic 'xcode-embed-genex'
90c03329dd Xcode: Honor generator expressions in XCODE_EMBED_<type>

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12499
2026-09-14 10:58:37 -04:00
Brad King 1c54e46a17 Merge topic 'invalid-did-you-mean'
dd44b41cbe cmake -E: Add CLI argument spell checking
7dacfea25d cmake -E: Refactor help string to struct
1cd84285e7 cpack: Add CLI argument spell checking
314c720eaf cpack: Fail-fast on unknown arguments
ec138e6f8e ctest: Add CLI argument spell checking
1a68ffd75f cmMakefile: Add CML command spell checking
27dedeaafd cmake: Add CLI argument spell checking
fca1ecb8a3 cmStringAlgorithms: Add Levenshtein distance

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12456
2026-09-14 10:56:11 -04:00
Kitware Robot 51b2d8a2e3 CMake Nightly Date Stamp 2026-09-14 00:05:34 -04:00
Craig Scott d410092ece FetchContent: Move log level detection into step script
A step with a custom command shouldn't be seen as out-of-date
just because the user re-runs configure with a different log level.
Previously, the log level was written directly to the step scripts,
but that meant the script changes if the user specifies a different
effective log level to the previous configure. Now we move the
log level detection into the script so that the script remains the
same no matter what log level the user asks for.

This was most noticeable with the PATCH step, since that always
uses a custom command when present. Changing the log level
would cause the PATCH step to re-run, which usually results in
an error because PATCH typically only expects to run once after
a DOWNLOAD. But the underlying problem would affect any step
with a custom command, not just PATCH.

Fixes: #28055
2026-09-13 21:23:27 +10:00
Kitware Robot 5440cd9785 CMake Nightly Date Stamp 2026-09-13 00:05:59 -04:00
Kitware Robot 3f99c9ddab CMake Nightly Date Stamp 2026-09-12 00:05:23 -04:00
AJIOB c8b93b9db6 Source: Reduce string allocations 2026-09-11 23:11:52 +03:00
Daksh Mamodiya fdc2c2b9c7 cmake-gui: settle preset application before Configure/Generate
Selecting a configure preset applies on the worker thread, but Configure
and Generate stayed enabled and could snapshot the stale cache model
first. Tokenize preset application, disable the dependent actions until
the completion lands, and accept only the latest request.

Fixes: #28085
2026-09-11 23:24:10 +05:30
Matthew Woehlke 2673161b67 install: Improve documentation, argument parsing
Adjust documentation of `install(CODE|SCRIPT)` to more understandably
reflect how the subcommand actually operates. Adjust argument parsing of
the same to "accept" the `COMPONENT` argument being given more than
once, consistent with how single-valued arguments are usually parsed.
2026-09-11 12:22:25 -04:00
Tor Arne Vestbø 90c03329dd Xcode: Honor generator expressions in XCODE_EMBED_<type>
Evaluate the XCODE_EMBED_<type> target property through the generator
expression evaluator before building the copy-files phase.  Xcode shares
one copy-files build phase across all configurations, so the embedded set
cannot vary by configuration.  Reject any expression whose result depends
on the configuration, matching the existing per-source diagnostic.

Fixes #28082
2026-09-11 16:45:25 +02:00
Brad King 216cc54531 Merge topic 'AUTOMOC-cxxmodules-support'
6280cc3df9 Autogen: Add AUTOMOC support for C++ module units
266c6f0109 Autogen: Factor out the info-file source-entry reader

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Reviewed-by: Vito Gamberini <vito.gamberini@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !12490
2026-09-11 09:16:10 -04:00
Brad King 34bbc91e3b Merge topic 'if-PATH_IS_PREFIX'
860583ceac if: Add PATH_IS_PREFIX operator
3d53f7901b Tests: Cover cmake_path(IS_PREFIX) path semantics
59a096f73b Tests: Detect a malformed genex in the PATH:IS_PREFIX test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12427
2026-09-11 09:11:02 -04:00
Brad King 0b6add1ed7 Merge topic 'refactoring-cmInstallCommand'
21cc5937c1 install(TARGETS): Factor out reusable helpers with config-specific support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12496
2026-09-11 09:01:36 -04:00
Stepanov Igor 21cc5937c1 install(TARGETS): Factor out reusable helpers with config-specific support 2026-09-11 08:50:14 -04:00
Brad King ddf5ae6a19 Merge topic 'install-code-refactor'
8997bb6431 install: Parse SCRIPT and CODE arguments with cmArgumentParser

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12492
2026-09-11 08:41:07 -04:00
Brad King de0e35d84d Merge topic 'devcontainer'
f1b6b3a6f0 devcontainer: Run local customization hooks through the container's life
3cfbea10e4 devcontainer: Name the workspace path explicitly
f8f4dc7f43 gitlab-ci: add a job to verify the devcontainer in CI
ea0667e779 ci: add scripts to run and verify the devcontainer
9c17332601 devcontainer: Add `clang-tidy`, `clang-tools`, and `clazy`
a8872df649 devcontainer: Add `clang`, `gfortran`, and `valgrind`
8bd053379f devcontainer: Reword the comment on caching package downloads
7ae5c3cfb2 devcontainer: Add the Kitware APT repository
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12423
2026-09-11 08:36:11 -04:00
Brad King aa6a8702f0 Merge topic 'update-kwsys'
821f03e4d2 Merge branch 'upstream-KWSys' into update-kwsys
b8cdd8c26e KWSys 2026-09-11 (78cacab5)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12497
2026-09-11 08:31:45 -04:00
Brad King 821f03e4d2 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2026-09-11 (78cacab5)
2026-09-11 08:24:37 -04:00
KWSys Upstream b8cdd8c26e KWSys 2026-09-11 (78cacab5)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 78cacab53201d07143cd3843df56b7708f3a7cc6 (master).

Upstream Shortlog
-----------------

Tyler Yankee (1):
      edcc6bbd RegularExpression: Add newline test case
2026-09-11 08:24:37 -04:00
Tyler Yankee dd44b41cbe cmake -E: Add CLI argument spell checking
Use Levenshtein distance to track when the user may have made a typo in
an argument to `cmake -E` (i.e., an invalid mode; mode sub-arguments
are not tracked).
2026-09-11 08:23:37 -04:00
Tyler Yankee 7dacfea25d cmake -E: Refactor help string to struct
Having a well-defined formatting helper reduces risk of typos, but more
importantly, allows a future commit to reuse the list of available
modes.
2026-09-11 08:23:36 -04:00
Tyler Yankee 1cd84285e7 cpack: Add CLI argument spell checking
Use Levenshtein distance to track when the user may have made a typo in
an argument to `cpack`.
2026-09-11 08:23:35 -04:00
Tyler Yankee 314c720eaf cpack: Fail-fast on unknown arguments 2026-09-11 08:23:34 -04:00
Tyler Yankee ec138e6f8e ctest: Add CLI argument spell checking
Use Levenshtein distance to track when the user may have made a typo in
an argument to `ctest`.
2026-09-11 08:23:32 -04:00
Tyler Yankee 1a68ffd75f cmMakefile: Add CML command spell checking
Use Levenshtein distance to track when the user may have made a typo in
a CMake language command.
2026-09-11 08:23:31 -04:00
Tyler Yankee 27dedeaafd cmake: Add CLI argument spell checking
Use Levenshtein distance to track when the user may have made a typo in
an argument to `cmake`, `cmake --build`, `cmake --install`, or
`cmake --workflow`.
2026-09-11 08:23:30 -04:00