Commit Graph
77124 Commits
Author SHA1 Message Date
Kitware Robot eee2e7fd7e CMake Nightly Date Stamp 2026-09-02 00:06:15 -04:00
Brad King b56fabdb46 Merge topic 'test-implicit-info'
e9c3a8a1d8 Tests/RunCMake/ParseImplicit*Info: Run more cases on Windows hosts
7716efa3c6 Tests/RunCMake/ParseImplicitLinkInfo: Run more cases on non-Windows hosts
769bff22d9 Tests/RunCMake/ParseImplicitIncludeInfo: Simplify platform exclusions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12457
2026-09-01 11:04:34 -04:00
Brad King 8e49148617 Merge topic 'llvmflang-compile-warn-error'
32c8a4bd01 LLVMFlang: Add support for COMPILE_WARNING_AS_ERROR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12455
2026-09-01 10:41:59 -04:00
Brad King f19b680c9a Merge topic 'pre-commit-typos-version-bump+fix-typos'
76a8381c98 ci(pre-commit): version bump `typos` hook + fix found typos

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12452
2026-09-01 10:39:32 -04:00
Brad King 457b8a2acb Merge branch 'release-4.4' 2026-09-01 09:13:33 -04:00
Brad King 142bbc166c Merge topic 'doc-cpack-D'
af4e79b101 Help/manual/cpack: Document when `-D<var>=<value>` form was added

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12451
2026-09-01 09:13:32 -04:00
Brad King 7973ccc395 Merge topic 'doc-cpack-D' into release-4.4
af4e79b101 Help/manual/cpack: Document when `-D<var>=<value>` form was added

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12451
2026-09-01 09:13:30 -04:00
Kitware Robot 2f319547d1 CMake Nightly Date Stamp 2026-09-01 00:06:26 -04:00
Brad King e9c3a8a1d8 Tests/RunCMake/ParseImplicit*Info: Run more cases on Windows hosts
The KWSys actual-case cache no longer exists, so we can run
the cases it previously broke on Windows hosts.
2026-08-31 15:22:12 -04:00
Brad King 7716efa3c6 Tests/RunCMake/ParseImplicitLinkInfo: Run more cases on non-Windows hosts 2026-08-31 15:22:11 -04:00
Brad King 769bff22d9 Tests/RunCMake/ParseImplicitIncludeInfo: Simplify platform exclusions 2026-08-31 15:22:11 -04:00
leha-bot af4e79b101 Help/manual/cpack: Document when -D<var>=<value> form was added
Closes: #28059
2026-08-31 12:32:30 -04:00
scivision 32c8a4bd01 LLVMFlang: Add support for COMPILE_WARNING_AS_ERROR
LLVM/Flang has supported `-Werror` since version 13.
2026-08-31 12:05:01 -04:00
Brad King 3c3ea1421a Merge topic 'jsonstate-fuzz'
8048ba5678 cmJSONParserFuzzer: Add array test case
286d490845 cmJSONParserFuzzer: Port to use cmJSONState
59733a83be cmJSONState: Catch exceptions during parsing

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12447
2026-08-31 11:51:44 -04:00
Brad King d4d7c4116b Merge topic 'sarif-exe-info'
afcf9ac341 SARIF: Report information about processes invoked in the SARIF log

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12439
2026-08-31 11:50:18 -04:00
Brad King a13db261f6 Merge topic 'cpack-nsis-exe-dir'
6b695daab8 CPack/NSIS: Fix PATH modification without "bin" directory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12449
2026-08-31 11:40:40 -04:00
Brad King d4c466aa3b Merge topic 'ctest-preset-unreachable'
2cf0f3713f cmCTest: Sprinkle CM_{FALLTHROUGH,UNREACHABLE} a few more places

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !12450
2026-08-31 11:27:20 -04:00
Brad King afd855e80b Merge topic 'runtime-deps-case-sensitivity'
728e6ce203 file(GET_RUNTIME_DEPENDENCIES): Fix DLL case insensitivity for cross-compiling
4ce278389f cmBinUtilsWindowsPELinker: Resolve cased and lower names together
6ed37c9ed0 cmBinUtilsWindowsPELinker: Track cased and lower names more clearly
f7ce592c98 cmBinUtilsWindowsPELinker: Switch case conversion to value semantics
86846f57b8 cmBinUtilsWindowsPELinker: Factor out helper to store cased and lower names
343723dd56 cmBinUtilsWindowsPELinker: Reduce conditional block nesting

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12437
2026-08-31 11:03:39 -04:00
Brad King a08b56e7ad Merge branch 'release-4.4' 2026-08-31 11:01:11 -04:00
Brad King ab498e7cad Merge topic 'revert-googletest-discovery'
5e5467bfc3 GoogleTest: Revert "Base on builtin command discover_tests"
c0ef680605 GoogleTest: Avoid else after return

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12448
2026-08-31 11:01:11 -04:00
Brad King 6c32d5ed52 Merge topic 'revert-googletest-discovery' into release-4.4
5e5467bfc3 GoogleTest: Revert "Base on builtin command discover_tests"
c0ef680605 GoogleTest: Avoid else after return

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12448
2026-08-31 11:01:07 -04:00
Kitware Robot 313ad95baa CMake Nightly Date Stamp 2026-08-31 00:05:44 -04:00
Kitware Robot 4db79cc9aa CMake Nightly Date Stamp 2026-08-30 00:07:33 -04:00
Tyler Yankee 8048ba5678 cmJSONParserFuzzer: Add array test case
This input makes jsoncpp throw a runtime error, which is caught by
cmJSONState.
2026-08-29 18:49:33 -04:00
Tyler Yankee 286d490845 cmJSONParserFuzzer: Port to use cmJSONState
Given that most call-sites throughout CMake now use the cmJSONState
wrapper instead of calling into jsoncpp directly, the fuzzing test
should also now go through the wrapper.
2026-08-29 18:49:33 -04:00
Tyler Yankee 59733a83be cmJSONState: Catch exceptions during parsing
When CMake is linked against a sufficiently new jsoncpp supporting
exceptions, and built with the configuration to enable it, we can more
gracefully recover from runtime errors when parsing bad inputs.
2026-08-29 18:49:33 -04:00
Kitware Robot 80c848cd10 CMake Nightly Date Stamp 2026-08-29 00:05:31 -04:00
Alex Turbov 76a8381c98 ci(pre-commit): version bump typos hook + fix found typos 2026-08-29 05:26:37 +04:00
Stepanov Igor 728e6ce203 file(GET_RUNTIME_DEPENDENCIES): Fix DLL case insensitivity for cross-compiling
When cross-compiling to Windows from a (Linux) host with a
case-sensitive filesystem, match DLL file names case-insensitively.

Fixes: #28049
2026-08-28 18:53:43 +03:00
Daniel Tierney afcf9ac341 SARIF: Report information about processes invoked in the SARIF log
Fixes: #27903
2026-08-28 11:27:44 -04:00
Pedro López-Cabanillas 6b695daab8 CPack/NSIS: Fix PATH modification without "bin" directory
Previously our NSIS project template hard-coded `$INSTDIR\bin` for
inclusion in the `PATH`.  If the directory does not exist, nothing is
done.  Use `CPACK_NSIS_EXECUTABLES_DIRECTORY` instead of `bin`.

Fixes: #15635
2026-08-28 11:18:18 -04:00
Daniel Pfeifer 5e5467bfc3 GoogleTest: Revert "Base on builtin command discover_tests"
Revert commit a324c2bb58 (GoogleTest: Base on builtin command
discover_tests, 2026-03-01, v4.4.0-rc1~30^2).  The `discover_tests`
implementation does not persist already-discovered tests across ctest
runs, making it much slower on projects whose test binaries take a while
just to start up and list tests.  Revert to the prior implementation
pending caching support in `discover_tests`.

Fixes: #28053
Issue: #28060
2026-08-28 11:08:59 -04:00
Tyler Yankee 2cf0f3713f cmCTest: Sprinkle CM_{FALLTHROUGH,UNREACHABLE} a few more places
Amend commit f460a199e3 (Source: Add and use CM_UNREACHABLE macro,
2026-08-23).
2026-08-28 10:30:30 -04:00
Daniel Pfeifer c0ef680605 GoogleTest: Avoid else after return
Commit c3c95f3010 (GoogleTest: Avoid generation error on duplicate
target test discovery, 2026-07-14, v4.4.1~24^2) has added a level of
indentation which made rebasing other changes harder than necessary.
Avoiding an else branch after a return command allows keeping the
original indentation.
2026-08-28 10:21:52 -04:00
Brad King 3773fb5a46 Merge topic 'option-git'
95eef05f28 Add option(CMake_VERSION_NO_GIT) for broken Git or slow filesystem

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12442
2026-08-28 09:51:40 -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 4ce278389f cmBinUtilsWindowsPELinker: Resolve cased and lower names together 2026-08-27 17:00:41 -04:00
Brad King 6ed37c9ed0 cmBinUtilsWindowsPELinker: Track cased and lower names more clearly 2026-08-27 16:58:03 -04:00
Brad King f7ce592c98 cmBinUtilsWindowsPELinker: Switch case conversion to value semantics 2026-08-27 16:51:57 -04:00
Brad King 86846f57b8 cmBinUtilsWindowsPELinker: Factor out helper to store cased and lower names 2026-08-27 16:49:34 -04:00
Stepanov Igor 343723dd56 cmBinUtilsWindowsPELinker: Reduce conditional block nesting 2026-08-27 16:18:58 -04:00
scivision 95eef05f28 Add option(CMake_VERSION_NO_GIT) for broken Git or slow filesystem
Help inform user in GUI that it's possible to build CMake without Git.
This is useful for Git on Windows Subsystem for Linux or other platforms
where filesystem access for Git is very slow or Git program is broken.

Fixes: #28051
2026-08-27 11:04:55 -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 1ecf970fcd Merge branch 'release-4.4' 2026-08-27 10:50:28 -04:00
Brad King 8337f4e670 Merge topic 'ibm-flang-fix'
fbe5bcb7d3 IBMFlang: Rename compiler modules from IBMLLVMFlang

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12443
2026-08-27 10:50:27 -04:00
Brad King 1d755eb844 Merge topic 'ibm-flang-fix' into release-4.4
fbe5bcb7d3 IBMFlang: Rename compiler modules from IBMLLVMFlang

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12443
2026-08-27 10:50:25 -04:00
Brad King 47c0fd1977 Merge topic 'GNUInstallDirs-no-lang'
78b4ffa0a7 GNUInutallDirs: Suppress LIBDIR warning for LANGUAGES NONE projects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12440
2026-08-27 10:45:01 -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