Commit Graph
39094 Commits
Author SHA1 Message Date
Kitware Robot c19aaaab8b CMake Nightly Date Stamp 2026-03-11 00:05:49 -04:00
Brad King 9dfc788195 Merge topic 'cmake_install_allow_multiple_components'
bd605ba9e6 cmake --install: Support multiple --components
f059d95484 cmInstallScriptHandler: Now handles adding the component to install

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11772
2026-03-10 10:41:30 -04:00
Brad King 9e485212b0 Merge topic 'listfile-string'
b4c6db0f52 cmListFile: Use `std::string` in place of `const char*`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11793
2026-03-10 10:29:23 -04:00
Kitware Robot 2ad3a38e91 CMake Nightly Date Stamp 2026-03-10 00:05:19 -04:00
vvs31415 b4c6db0f52 cmListFile: Use std::string in place of const char* 2026-03-09 17:16:35 -04:00
Robert Maynard bd605ba9e6 cmake --install: Support multiple --components
Issue: #25178
2026-03-09 13:47:58 -04:00
Kitware Robot 9d21680251 CMake Nightly Date Stamp 2026-03-09 00:05:33 -04:00
Kitware Robot 5404113c69 CMake Nightly Date Stamp 2026-03-08 00:12:55 -05:00
Brad King 9ba48c03f4 Merge topic 'mod-manifest-rel-path'
061d872ed1 c++modules: Fix relative paths in local-arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11784
2026-03-07 09:06:39 -05:00
Kitware Robot 15fce61626 CMake Nightly Date Stamp 2026-03-07 00:10:38 -05:00
Brad King 116272e296 Merge topic 'use-triggers-instead-of-ldconfig-calls'
302a645d73 CPack/DEB: use `triggers` instead of legacy postXXX scripts for `ldconfig`
f461382d42 CPack/DEB: rename variable w/ result of `dpkg` find to match other vars
8a8bceda98 CPack/DEB: rename internal variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11779
2026-03-06 13:47:52 -05:00
Brad King f16583c85e Merge topic 'fix-qcmake-include-order'
3f739b92ee clang-format: Fix order of QCmake* includes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11778
2026-03-06 13:46:19 -05:00
Vito Gamberini 061d872ed1 c++modules: Fix relative paths in local-arguments
Fixes: #27426
2026-03-06 12:09:08 -05:00
Kitware Robot e6f93056ce CMake Nightly Date Stamp 2026-03-06 00:10:02 -05:00
Alex Turbov 302a645d73 CPack/DEB: use triggers instead of legacy postXXX scripts for ldconfig 2026-03-05 23:14:10 +04:00
Matthew Woehlke 3f739b92ee clang-format: Fix order of QCmake* includes 2026-03-05 13:50:48 -05:00
Robert Maynard f059d95484 cmInstallScriptHandler: Now handles adding the component to install 2026-03-05 10:06:01 -05:00
Brad King d1afe5fb60 Merge topic 'instrumentation-gui-generate'
fb541168f0 instrumentation: Reset queries on repeat configure steps from CMake GUI
1a63a737c4 instrumentation: Disallow invocation from initial cache files
9cc2bdda10 Tests/Instrumentation: Require CMake 4.3
795f7c27c7 Tests/CMakeGUI: Place test executable in main `bin` directory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11757
2026-03-05 10:04:51 -05:00
Brad King 61405f881c Merge topic 'instrumentation-gui-generate' into release-4.3
fb541168f0 instrumentation: Reset queries on repeat configure steps from CMake GUI
1a63a737c4 instrumentation: Disallow invocation from initial cache files
9cc2bdda10 Tests/Instrumentation: Require CMake 4.3
795f7c27c7 Tests/CMakeGUI: Place test executable in main `bin` directory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11757
2026-03-05 10:04:42 -05:00
Brad King 8878fc61ed Merge topic 'import-std-local-target'
0ba9ef4b69 Merge branch 'backport-import-std-local-target'
df6b1f2997 c++modules: Restore use of local target for `import std`
3101d70902 c++modules: Restore use of local target for `import std`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11752
2026-03-05 09:59:58 -05:00
Brad King f8ee57bb6d Merge topic 'import-std-local-target' into release-4.3
3101d70902 c++modules: Restore use of local target for `import std`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11752
2026-03-05 09:59:52 -05:00
Brad King c9d5baaebe Merge topic 'fbuild_extend_light_cache_opt'
e894c7e163 FASTBuild: allow enabling light cache for non-MSVC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11766
2026-03-05 09:40:01 -05:00
Brad King 7fbd9e4f92 Merge topic 'math-expr-overflow'
2423db545f math: Avoid signed integer overflow on negation
d140e01447 cmExprParserHelper: Factor unary negation operation body out of the parser

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11767
2026-03-05 09:37:02 -05:00
Kitware Robot dbc4d94715 CMake Nightly Date Stamp 2026-03-05 00:10:39 -05:00
Vito Gamberini df6b1f2997 c++modules: Restore use of local target for import std
Restore use of a project-local `STATIC` library to provide the stdlib's
module initialization symbols, as CMake 4.2's experimental support did.

In commit fa10dc6c22 (Experimental/CXXModules: Implement EcoStd Module
Metadata parser, 2025-10-21, v4.3.0-rc1~483^2) we switched to an
imported target to provide the BMI under the assumption that stdlib
implementations provide the symbols themselves, but they don't yet.

While refactoring the module metadata parser's properties logic, also
fix a relative path issue for local arguments.

Fixes: #27426, #27626, #27635
2026-03-04 16:45:23 -05:00
Vito Gamberini 3101d70902 c++modules: Restore use of local target for import std
Restore use of a project-local `STATIC` library to provide the stdlib's
module initialization symbols, as CMake 4.2's experimental support did.

In commit fa10dc6c22 (Experimental/CXXModules: Implement EcoStd Module
Metadata parser, 2025-10-21, v4.3.0-rc1~483^2) we switched to an
imported target to provide the BMI under the assumption that stdlib
implementations provide the symbols themselves, but they don't yet.

While refactoring the module metadata parser's properties logic, also
fix a relative path issue for local arguments.

Fixes: #27426, #27626, #27635
2026-03-04 16:40:37 -05:00
Martin DuffyandTyler Yankee fb541168f0 instrumentation: Reset queries on repeat configure steps from CMake GUI
Prevent repeat configure calls from the CMake GUI or `ccmake` tool from
loading query duplicates, which caused many duplicate callbacks to be
invoked on each subsequent hook.

Also ensure that multiple subsequent configure steps invoked by CMake
GUI and `ccmake` each have an associated snippet file during generate.

Fixes: #27651
Co-Authored-By: Tyler Yankee <tyler.yankee@kitware.com>
2026-03-04 16:22:47 -05:00
Tyler Yankee 1a63a737c4 instrumentation: Disallow invocation from initial cache files
Prepare for future changes which invalidate this approach due to the
cadence at which query files are cleared.
2026-03-04 15:32:17 -05:00
Eduard Voronkin e894c7e163 FASTBuild: allow enabling light cache for non-MSVC
Starting from version 1.19 FASTBuild now
supports `UseLightCache_Experimental` for
non-MSVC compilers: https://www.fastbuild.org/docs/changelog.html
2026-03-04 09:46:28 -05:00
Brad King 2423db545f math: Avoid signed integer overflow on negation
Extend commit 099c05dd04 (math: Avoid signed integer overflow when
intrinsics are available, 2026-02-26) to cover unary `-`.
2026-03-04 09:41:56 -05:00
Brad King d140e01447 cmExprParserHelper: Factor unary negation operation body out of the parser 2026-03-04 09:41:56 -05:00
Brad King 8bd6ca841e Merge topic 'ctest-show-only-no-custom-processing'
3e89f5ae83 ctest: Disable pre- and post-processing during `--show-only`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11763
2026-03-04 09:36:46 -05:00
Brad King c328f5cdfc Merge topic 'normalize-install-path'
0f1ba8f6bb install: Normalize DESTINATION `.`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11755
2026-03-04 09:31:42 -05:00
Brad King 368948c35e Merge topic 'ci-iwyu'
79610a2e75 IWYU: Include <cm/string_view> instead of <string_view>

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11764
2026-03-04 09:29:49 -05:00
Brad King aa8c50df4c Merge topic 'cpack-archive-error-detail'
c6cefac938 CPack/Archive: Show filename causing same-file-different-content

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11760
2026-03-04 09:27:27 -05:00
Kitware Robot 81809873fa CMake Nightly Date Stamp 2026-03-04 00:15:23 -05:00
Sebastian Sura 3e89f5ae83 ctest: Disable pre- and post-processing during --show-only
Do not run the custom pre-/post- test tasks when instructed to only show
the tests that would be executed.  Otherwise it's impossible to reliably
parse the output of this as is will be contaminated by all output
produced by the pre-/post-scripts!

Fixes: #23254
2026-03-03 16:57:05 -05:00
huangqinjin 0f1ba8f6bb install: Normalize DESTINATION .
Such that during installation, instead of printing

  -- Installing: /cmake/install/prefix/./file

now prints

  -- Installing: /cmake/install/prefix/file
2026-03-03 16:32:05 -05:00
Brad King 79610a2e75 IWYU: Include <cm/string_view> instead of <string_view>
This was missed during review of commit e531e7420d (Reduce string copies
by using View function alternatives, 2026-01-25, v4.3.0-rc1~63^2~4).
2026-03-03 16:24:14 -05:00
Rex Keen c6cefac938 CPack/Archive: Show filename causing same-file-different-content
When there are two files with the same name but different content, an
error is shown, but the error does not include the filename which caused
it. This adds the filename to the error.
2026-03-03 15:53:00 -05:00
Brad King 2defff58e2 CMake 4.3.0-rc2 2026-03-03 10:48:28 -05:00
Brad King e85fc58f4d Merge topic 'ctest-error-exit'
8dbb7f65f9 ctest: Exit 1 when argc == 1 and no input file exists
fa7c993ef9 Help: Document plain `ctest` command-line signature and exit code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !11743
2026-03-03 09:32:27 -05:00
Kitware Robot e442e78f07 CMake Nightly Date Stamp 2026-03-03 00:10:25 -05:00
Brad King 3fed7ab307 Merge topic 'pre-commit-update-typos'
69691f5bb2 pre-commit: version bump `typos` hook + fix found typo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11756
2026-03-02 14:10:14 -05:00
Sertonix 8dbb7f65f9 ctest: Exit 1 when argc == 1 and no input file exists
Fixes: #26759
2026-03-02 12:20:08 -05:00
Alex Turbov 69691f5bb2 pre-commit: version bump typos hook + fix found typo 2026-03-02 09:54:13 -05:00
Brad King aa86ddc4df Merge topic 'FILE_SET-inspection-properties'
63775fe60f FILE_SET: add the support of properties for file set inspection
9696a44cd3 Sphinx: update infrastructure for File Set properties support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11732
2026-03-02 09:42:07 -05:00
Kitware Robot 9e7e985b8a CMake Nightly Date Stamp 2026-03-02 00:06:45 -05:00
Kitware Robot 757c0c7b7e CMake Nightly Date Stamp 2026-03-01 00:10:29 -05:00
Marc Chevrier 63775fe60f FILE_SET: add the support of properties for file set inspection 2026-02-28 13:46:57 +01:00