Commit Graph
75916 Commits
Author SHA1 Message Date
Brad King f099bbe81f Merge branch 'release-4.1' 2026-06-04 10:23:44 -04:00
Brad King e94450cdbd Merge branch 'release-4.3' 2026-06-04 10:22:23 -04:00
Brad King 710b2f582d Merge topic 'fix-cmp0186-typo'
01c8417cd2 Help: Fix typo in example of CMP0186

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12143
2026-06-04 10:22:22 -04:00
Brad King 94b8cc237d Merge topic 'fix-cmp0186-typo' into release-4.3
01c8417cd2 Help: Fix typo in example of CMP0186

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12143
2026-06-04 10:22:20 -04:00
Brad King dd434bc9cb Merge topic 'fix-cmp0186-typo' into release-4.1
01c8417cd2 Help: Fix typo in example of CMP0186

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12143
2026-06-04 10:15:25 -04:00
Julien Jorge 01c8417cd2 Help: Fix typo in example of CMP0186
For CMake 4.1 and above the result of

    string(REGEX REPLACE "^a" "b" result "aaaa")

is `"baaa"`, not `"abbb"`.
2026-06-04 10:14:19 -04:00
Brad King 1b699c4fd0 Merge topic 'ci-msvc-14.51'
b44a9da290 ci: Update Windows builds to MSVC 14.51 toolset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12141
2026-06-04 10:10:55 -04:00
Brad King 635b42c3ff Merge topic 'ibm-flang'
ee76398d23 IBMLLVMFlang: Add support for this compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12138
2026-06-04 10:09:27 -04:00
Brad King 850ca80ce8 Merge topic 'ctest_submit_parts'
a798a84b22 ctest: add new variable CTEST_SUBMIT_PARTS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12135
2026-06-04 10:08:20 -04:00
Brad King 167cb502f1 Merge topic 'bmi-compat-release-note'
ea4dc0c2ac c++modules: simplify release note

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !12136
2026-06-04 10:06:56 -04:00
Brad King b11c54bb0c Merge topic 'discover-tests-googletest'
a324c2bb58 GoogleTest: Base on builtin command discover_tests
6b6e9fbc32 GoogleTest: Move test list parsing to separate file
1da072eacb discover_tests: Add TEST_LIST to CTest command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11815
2026-06-04 09:54:33 -04:00
Brad King 2d4a0ef0fe Merge topic 'GenEx-SOURCE_PROPERTY-evaluate-content'
699f4d61a5 GenEx SOURCE_PROPERTY: fix evaluation of generation expressions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12134
2026-06-04 09:52:45 -04:00
Brad King 6e995093d9 Merge topic 'fix-build-tree-prefix-leak'
fd660330e0 find_*: Avoid searching prefix derived from CMake's own source tree

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12122
2026-06-04 09:51:29 -04:00
Brad King 8dbd22d7d3 Merge branch 'release-4.3' 2026-06-04 09:47:43 -04:00
Brad King fe0e722a53 Merge branch 'release-4.2' 2026-06-04 09:47:39 -04:00
Brad King 3a348f83e4 Merge branch 'release-4.1' 2026-06-04 09:47:32 -04:00
Brad King f7c8351888 Merge branch 'release-4.0' 2026-06-04 09:47:25 -04:00
Brad King 061e52a229 Merge branch 'release-4.2' into release-4.3 2026-06-04 09:47:05 -04:00
Brad King 42deef9b5a Merge branch 'release-4.3' 2026-06-04 09:46:19 -04:00
Brad King 81f69e238c Merge topic 'sarif_release_notes'
319e3425ba Help: Add SARIF output options to 4.0 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12137
2026-06-04 09:46:19 -04:00
Brad King 517e014cc2 Merge topic 'sarif_release_notes' into release-4.3
319e3425ba Help: Add SARIF output options to 4.0 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12137
2026-06-04 09:46:16 -04:00
Brad King af2c714286 Merge branch 'release-4.1' into release-4.2 2026-06-04 09:45:42 -04:00
Brad King f62cda7a23 Merge topic 'sarif_release_notes' into release-4.2
319e3425ba Help: Add SARIF output options to 4.0 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12137
2026-06-04 09:45:30 -04:00
Brad King ee5b5addee Merge branch 'release-4.0' into release-4.1 2026-06-04 09:45:24 -04:00
Brad King fbac091bed Merge topic 'sarif_release_notes' into release-4.1
319e3425ba Help: Add SARIF output options to 4.0 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12137
2026-06-04 09:45:09 -04:00
Brad King 2f06928ee1 Merge topic 'sarif_release_notes' into release-4.0
319e3425ba Help: Add SARIF output options to 4.0 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12137
2026-06-04 09:44:31 -04:00
Kitware Robot 02f124275c CMake Nightly Date Stamp 2026-06-04 00:06:46 -04:00
Daniel Tierney 319e3425ba Help: Add SARIF output options to 4.0 release notes
These options were added in 4.0 but accidentally left out of
release notes.
2026-06-03 18:41:05 -04:00
Kelvin Li ee76398d23 IBMLLVMFlang: Add support for this compiler
Add support for the `ibm-flang` compiler tool, a variant of LLVMFlang.

Closes: #27863
2026-06-03 18:35:46 -04:00
Vito Gamberini ea4dc0c2ac c++modules: simplify release note 2026-06-03 11:29:05 -04:00
Brad King b44a9da290 ci: Update Windows builds to MSVC 14.51 toolset 2026-06-03 11:24:10 -04:00
Zack Galbreath a798a84b22 ctest: add new variable CTEST_SUBMIT_PARTS
This new variable allows dashboard client users to specify what parts
to submit.
2026-06-03 10:45:42 -04:00
Daksh Mamodiya fd660330e0 find_*: Avoid searching prefix derived from CMake's own source tree
When `cmake` is running from its own build tree, `CMAKE_ROOT` is in
the source tree and should not be used to derive a search prefix.

Fixes: #27853
2026-06-03 10:11:21 -04:00
Brad King 5636aa7740 Merge topic 'cxx-module-usage-effects'
2049419196 c++modules: document BMI compatibility changes
bfba7f68af c++modules: Correctly calculate and apply usage effects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12116
2026-06-03 10:01:51 -04:00
Brad King a76709e24b Merge topic 'presets-tests-rm-empty-check-files'
54be7af178 Tests: Remove empty CMakePresets *.cmake files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12130
2026-06-03 09:59:11 -04:00
Brad King a3226ce37d Merge topic 'doc-ctest-dashboard-dash-D'
1bc30bd30d Help/ctest: Improve formatting of dashboard options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12124
2026-06-03 09:53:57 -04:00
Brad King 063b4e4aa5 Merge branch 'release-4.3' 2026-06-03 09:51:48 -04:00
Brad King 3b85f214d2 Merge topic 'instrumentation-data-version-minor'
f5a0f6478e Merge branch 'backport-instrumentation-data-version-minor' into instrumentation-data-version-minor
dcf146c34d instrumentation: Revise Data Version format
df36317176 instrumentation: Revise Data Version format

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12117
2026-06-03 09:51:48 -04:00
Brad King e202972b06 Merge topic 'instrumentation-data-version-minor' into release-4.3
df36317176 instrumentation: Revise Data Version format

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12117
2026-06-03 09:51:46 -04:00
Marc Chevrier 699f4d61a5 GenEx SOURCE_PROPERTY: fix evaluation of generation expressions 2026-06-03 15:44:16 +02:00
Kitware Robot 80f1d73512 CMake Nightly Date Stamp 2026-06-03 00:05:42 -04:00
Vito Gamberini 2049419196 c++modules: document BMI compatibility changes 2026-06-02 20:16:51 -04:00
Vito Gamberini bfba7f68af c++modules: Correctly calculate and apply usage effects
Usage effects describe the relationship between a provider and a
consumer of C++ module interface units. They encompass the flags and
features used to construct BMIs for those units. If the usage effects of
a provider and consumer match, then the provider's BMI may be reused
as-is. If they do not match, then a synthetic target describing the
interface units with the consumer's usage effects applied must be
created.

This commit makes three major changes to how usage effects are reified
in CMake. The first is simple, usage effect hashes now use compile
options and features as the input to their hash instead of the consumer
name. A simply warning flag filter is also applied, mostly to
demonstrate the mechanism. This is the "correct calculation" for usage
effects.

The second is more impactful, usage effects now entirely replace the
compile options of providers with those of consumers if unmatched.
Compile definitions, includes, and links remain unchanged. This is
necessary to ensure successful builds, but is a tricky semantic change.

The third is mostly source-facing, the discovery model for CxxModule
synthetic targets is no longer the global target namespace. Instead,
non-synthetic targets manage their synthetic derivatives. Every target
maintains a usage effect-keyed cache of synthetic targets. When
determining if a synthetic target is necessary, a given provider checks
for compatibility with itself, then for presence in the cache, and if
the cache misses a new synthetic target is created.

Fixes: #27597
2026-06-02 15:41:40 -04:00
Daniel Pfeifer a324c2bb58 GoogleTest: Base on builtin command discover_tests 2026-06-02 21:19:28 +02:00
Daniel Pfeifer 6b6e9fbc32 GoogleTest: Move test list parsing to separate file 2026-06-02 21:05:05 +02:00
Daniel Pfeifer 1da072eacb discover_tests: Add TEST_LIST to CTest command 2026-06-02 21:05:04 +02:00
Tyler Yankee 1bc30bd30d Help/ctest: Improve formatting of dashboard options
We must differentiate between the `ctest -D` dashboard and `ctest -D`
variable options.
2026-06-02 13:49:16 -04:00
Brad King bd870ef98f Merge topic 'swift-sizeof-void-p'
a82e3e3aaf Swift: Verify setting sizeof_void_p
8682afd971 Swift: Extract pointer size from Swift compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12125
2026-06-02 09:27:23 -04:00
Brad King bdad2cbd97 Merge topic 'parse-arguments-argn'
97c36916d9 cmake_parse_arguments: Add PARSE_ARGN mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12131
2026-06-02 09:26:04 -04:00
Brad King d9099418e1 Merge topic 'flang-ipo'
9573345dec LLVMFlang: Enable ThinLTO support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12123
2026-06-02 09:24:12 -04:00