Brad King
adb51b1e4e
Merge topic 'fix-ctest-instrumentation-output'
...
63165db061 instrumentation: Fix ctest output of Build.xml when targets have labels
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11673
2026-02-10 11:29:40 -05:00
Kitware Robot
6a544a62e5
CMake Nightly Date Stamp
2026-02-10 00:12:56 -05:00
Sylvain Joubert
63165db061
instrumentation: Fix ctest output of Build.xml when targets have labels
...
Fixes #27585
2026-02-09 18:15:28 +01:00
Kitware Robot
ac1c4a611d
CMake Nightly Date Stamp
2026-02-09 00:11:18 -05:00
Brad King
860ba3d6b5
Merge topic 'update-kwsys'
...
51e3b1b4b2 cmSystemTools: Simplify string case conversion methods
bc89442828 Merge branch 'upstream-KWSys' into update-kwsys
f4258b93d2 KWSys 2026-02-08 (29120a5d)
85a4d0cde7 cmList: Simplify overload selection for function pointer
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11669
2026-02-08 09:29:02 -05:00
Brad King
51e3b1b4b2
cmSystemTools: Simplify string case conversion methods
...
Take advantage of KWSys SystemTools' new move semantics.
2026-02-08 09:21:58 -05:00
Brad King
bc89442828
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2026-02-08 (29120a5d)
2026-02-08 09:21:44 -05:00
Brad King
e686b86649
Merge topic 'import-std-no-experimental'
...
70c1f0f43d Experimental: Remove import std experimental gate
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11657
2026-02-08 09:18:01 -05:00
Kitware Robot
7728460b0b
CMake Nightly Date Stamp
2026-02-08 00:06:55 -05:00
Brad King
85a4d0cde7
cmList: Simplify overload selection for function pointer
2026-02-07 10:30:46 -05:00
Brad King
b0bcc6c7c0
Merge topic 'UseMoreStringViews'
...
70509802f5 cmSystemTools: Fix clang tidy warning else after return
d932b6fb8d Prefer cmHasSuffix for specific extension checks
35af170961 cmSystemTools: Take view instead of ref as parameter
9daa1012d4 cmGlobalGenerator: Avoid string copies by returning view
e531e7420d Reduce string copies by using View function alternatives
62a4099fd2 cmGeneratorTarget: Cache GetAllConfigCompileLanguages
6ed75b1fe6 cmGlobalGenerator: Use transparent comparator to avoid string copies
9a575a835f cmPropertyDefinition: Avoid string copies for Property lookups
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11634
2026-02-07 09:33:34 -05:00
Brad King
630a390cf1
Merge topic 'ctype-casts'
...
05ed2af7da Avoid signed char-to-int conversions in tolower/toupper calls
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11666
2026-02-07 09:31:40 -05:00
Brad King
a59a6c2ca0
Merge topic 'rust-support'
...
5c1b0a6b7e Rust: Add experimental support with Ninja
3fe1e45584 ci: Add rustc to Fedora base image
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michał Walenciak <michalwalenciak@gmail.com >
Merge-request: !11389
2026-02-07 09:30:19 -05:00
Brad King
417d83fc3c
Merge topic 'install-dir-empty'
...
4e7e6928cb install: Fix bugs around empty directories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11660
2026-02-07 09:27:03 -05:00
Vito Gamberini
70c1f0f43d
Experimental: Remove import std experimental gate
...
Fixes : #27571
2026-02-07 09:03:43 -05:00
Kitware Robot
4a173320e2
CMake Nightly Date Stamp
2026-02-07 00:10:14 -05:00
John Franklin Rickard
70509802f5
cmSystemTools: Fix clang tidy warning else after return
...
warning: readability-else-after-return.
Also invert the if/else logic to avoid double negatives.
2026-02-06 12:27:23 -05:00
John Franklin Rickard
d932b6fb8d
Prefer cmHasSuffix for specific extension checks
2026-02-06 12:27:23 -05:00
John Franklin Rickard
35af170961
cmSystemTools: Take view instead of ref as parameter
2026-02-06 12:27:23 -05:00
John Franklin Rickard
9daa1012d4
cmGlobalGenerator: Avoid string copies by returning view
2026-02-06 12:27:23 -05:00
John Franklin Rickard
e531e7420d
Reduce string copies by using View function alternatives
2026-02-06 12:27:13 -05:00
John Franklin Rickard
62a4099fd2
cmGeneratorTarget: Cache GetAllConfigCompileLanguages
2026-02-06 12:27:13 -05:00
John Franklin Rickard
6ed75b1fe6
cmGlobalGenerator: Use transparent comparator to avoid string copies
2026-02-06 12:27:13 -05:00
John Franklin Rickard
9a575a835f
cmPropertyDefinition: Avoid string copies for Property lookups
2026-02-06 12:27:13 -05:00
John Franklin Rickard
3d546663bc
cmSourceFile: Avoid initial copy of file extension string
2026-02-06 12:27:13 -05:00
John Franklin Rickard
c99ea2f78e
cmSystemTools: Add string_view FileName and Extension Getter
2026-02-06 12:27:13 -05:00
John Franklin Rickard
f53296147f
cmSourceFile: Change parameter to string_view
2026-02-06 12:27:12 -05:00
John Franklin Rickard
c3c3b10d60
cmGlobalGenerator: Change parameter to string_view
2026-02-06 12:27:12 -05:00
Ayush Singh
5c1b0a6b7e
Rust: Add experimental support with Ninja
...
The TU for Rust is a crate, not per-source. `rustc` expects entry file
to TU as input, and cannot work with object files. So we need to have
one-step build/link in most cases, similar to what old Swift was doing.
Issue: #25492
Signed-off-by: Ayush Singh <ayush@beagleboard.org >
2026-02-06 11:32:56 -05:00
Brad King
05ed2af7da
Avoid signed char-to-int conversions in tolower/toupper calls
...
These functions document that the arguments must be representable
by `unsigned char`. In particular, NetBSD is strict about this.
Fixes : #27574
2026-02-06 10:39:52 -05:00
Brad King
d979f3df74
Merge topic 'fileapi-interface-sources'
...
b8af7837b3 fileapi: Add interfaceSources to the target codemodel replies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11655
2026-02-06 10:37:20 -05:00
Brad King
4028531dec
Merge topic 'instrumentation-no-experimental'
...
95dc40d8a8 Experimental: Remove Instrumentation experimental gating
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Tyler Yankee <tyler.yankee@kitware.com >
Merge-request: !11651
2026-02-06 10:32:38 -05:00
Brad King
a6b3e2a7de
Merge topic 'detect-colliding-target-dirs'
...
bc7fac6ad3 cmGeneratorTarget: detect colliding target directories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11658
2026-02-06 10:23:48 -05:00
Brad King
57c7fa0d5f
Merge topic 'detect-colliding-target-dirs' into release-4.2
...
bc7fac6ad3 cmGeneratorTarget: detect colliding target directories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11658
2026-02-06 10:23:46 -05:00
Brad King
71e019d4a4
Merge topic 'update-kwsys'
...
ab270f861c Merge branch 'upstream-KWSys' into update-kwsys
f7607963a5 KWSys 2026-02-06 (3d72d062)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11662
2026-02-06 09:50:52 -05:00
Brad King
ab270f861c
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2026-02-06 (3d72d062)
2026-02-06 07:48:37 -05:00
Kitware Robot
ade0305eaf
CMake Nightly Date Stamp
2026-02-06 00:06:43 -05:00
Tyler Yankee
4e7e6928cb
install: Fix bugs around empty directories
...
The conversion between internal list representations led to empty
directories being left behind when processing generator expressions in
the destination. This ensures the intended behavior of creating a
destination directory but installing nothing into it when no <dirs> are
specified, regardless of the presence or absence of genex.
Further, an explicit empty string <dir> (via `""`, or an undefined
variable) led to the current source directory being expanded as a file
to install, leading to the generation of an infinitely recursive
install command. Disallow this behavior, forcing projects to explicitly
specify the current source directory if that is their intention.
Fixes : #27568
2026-02-05 19:33:47 -05:00
Martin Duffy
95dc40d8a8
Experimental: Remove Instrumentation experimental gating
...
Fixes : #27348
2026-02-05 14:05:42 -05:00
Brad King
01917a37f0
Merge topic 'mod-manifest-loc-args'
...
ec3f41ab7b cmDyndepCollation: Don't serialize local arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !11649
2026-02-05 13:57:10 -05:00
Brad King
8fc452fc2f
Merge topic 'vs-no-dupe-object-filename'
...
e4f6701ad4 cmVisualStudio10TargetGenerator: use language extension for objects
3b9cd510d7 cmVisualStudio10TargetGenerator: only write a single object filename
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11654
2026-02-05 13:54:05 -05:00
Brad King
713c36bc0e
Merge topic 'instrumentation-project-name'
...
ffff6576b4 instrumentation: Add project field to cmake content files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11650
2026-02-05 13:50:56 -05:00
Brad King
29c26a10a1
Merge topic 'sbom-cli-integration'
...
f25e41f992 cmSbom: Add flag to automatically export sbom information
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11593
2026-02-05 13:18:53 -05:00
Brad King
9ef1ccc6a4
Merge topic 'parser-mod-zero'
...
4b0c458c09 LexerParser: Disallow modulo by zero
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11653
2026-02-05 13:13:44 -05:00
Brad King
37614c8f79
Merge topic 'cmd-version-json'
...
39a3915022 cmd: implement json version output
89fd18b48e nghttp2: provide common cm3p headers
31bb76eafd Utilities: add lost openssl dependency
26cdd956ac kwiml: provide common cm3p version header
4952dc9d4a Merge branch 'upstream-KWIML' into cmd-version-json
b41743ddcb KWIML 2025-08-05 (2eae04db)
25c05b0bac kwiml: Update script to get version header
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11630
2026-02-05 13:11:08 -05:00
Brad King
fcd47a770c
Merge topic 'xterm-ghostty'
...
1f13ab0cc6 StdIo: add xterm-ghostty to list of supported TERM types
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11652
2026-02-05 13:08:08 -05:00
Ben Boeckel
bc7fac6ad3
cmGeneratorTarget: detect colliding target directories
...
Some projects might get unlucky and have targets which collide in the
sha3-512 hash (truncated to 4) in a directory which also collides in the
same way (easily done by sharing it). Note such problems as potentially
colliding and offer potential remedies.
Also add a test which generates the error.
Closes : #27465
2026-02-05 12:33:56 -05:00
Craig Scott
b8af7837b3
fileapi: Add interfaceSources to the target codemodel replies
...
Fixes : #27489
2026-02-05 21:20:48 +09:00
Kitware Robot
f52e3cc4ee
CMake Nightly Date Stamp
2026-02-05 00:14:09 -05:00
Vito Gamberini
ec3f41ab7b
cmDyndepCollation: Don't serialize local arguments
...
LocalArguments as implemented in commit ce309f8885 (cmDyndepCollation:
Cxx module manifest format, 2026-01-22) carries dependency assumptions
which break when the resulting install tree is relocated or reused in an
different build environment. Module manifests are ill-equipped to solve
this problem. For now, forego local arguments entirely rather than
encode potentially bogus information.
Issue: #27565
2026-02-04 13:26:53 -05:00