Commit Graph

63659 Commits

Author SHA1 Message Date
Kitware Robot d1906daebf CMake Nightly Date Stamp 2023-10-31 00:01:08 -04:00
Brad King 4ca40374d6 Merge topic 'FindOpenThreads-doc'
bc1f0f6e0f FindOpenThreads: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8929
2023-10-30 14:22:01 -04:00
權少 bc1f0f6e0f FindOpenThreads: Update documentation 2023-10-30 08:53:24 -04:00
Brad King 8e77c6e8ae Merge topic 'doc-fix-imported-location-ref'
59c2143920 Help/IMPORTED_LOCATION: link to `LOCATION_<CONFIG>` docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8928
2023-10-30 08:34:44 -04:00
Brad King 3548b92d62 Merge branch 'release-3.28' 2023-10-30 08:26:10 -04:00
Brad King 728646434f Merge topic 'cxxmodules-ninja-forced-rsp-files'
09c962a6a4 Tests/CXXModules: test forced rsp files with ninja

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8926
2023-10-30 08:26:09 -04:00
Brad King 6474d5d03a Merge topic 'cxxmodules-ninja-forced-rsp-files' into release-3.28
09c962a6a4 Tests/CXXModules: test forced rsp files with ninja

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8926
2023-10-30 08:26:08 -04:00
Brad King a80f44907a Merge branch 'release-3.28' 2023-10-30 08:22:18 -04:00
Brad King ea52c7bd78 Merge topic 'cmp0153-suggestion'
d3cc815c98 CMP0153: Add suggestion to use execute_process()
8313d26198 cmState::AddDisallowedCommand(): Allow additional warning info

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !8921
2023-10-30 08:22:17 -04:00
Brad King 9e1667e62a Merge topic 'cmp0153-suggestion' into release-3.28
d3cc815c98 CMP0153: Add suggestion to use execute_process()
8313d26198 cmState::AddDisallowedCommand(): Allow additional warning info

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !8921
2023-10-30 08:22:09 -04:00
Brad King 8056053f9e Merge branch 'release-3.28' 2023-10-30 08:20:17 -04:00
Brad King b96c72a8c9 Merge topic 'FindProtobuf-restore-protoc-include-path'
d7f7bf08cd FindProtobuf: Fix protoc include path regression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Matias Lopez <mlopez203@bloomberg.net>
Merge-request: !8922
2023-10-30 08:20:17 -04:00
Brad King 14563cb7dc Merge topic 'FindProtobuf-restore-protoc-include-path' into release-3.28
d7f7bf08cd FindProtobuf: Fix protoc include path regression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Matias Lopez <mlopez203@bloomberg.net>
Merge-request: !8922
2023-10-30 08:20:16 -04:00
Kitware Robot 832f548d7c CMake Nightly Date Stamp 2023-10-30 00:01:23 -04:00
Kitware Robot 76c08300ca CMake Nightly Date Stamp 2023-10-29 00:01:07 -04:00
Ben Boeckel 59c2143920 Help/IMPORTED_LOCATION: link to LOCATION_<CONFIG> docs 2023-10-28 10:04:16 -04:00
Kitware Robot fbce5b627c CMake Nightly Date Stamp 2023-10-28 00:01:09 -04:00
Ben Boeckel 09c962a6a4 Tests/CXXModules: test forced rsp files with ninja
Fixes: #25367
2023-10-27 23:55:39 -04:00
André Apitzsch d7f7bf08cd FindProtobuf: Fix protoc include path regression
This was accidentally broken by commit 31adc11030 (FindProtobuf: Add
PLUGIN_OPTIONS and PROTOC_OPTIONS to protobuf_generate, 2023-06-29,
v3.28.0-rc1~409^2~2).

Fixes: #25368
2023-10-27 11:41:28 -04:00
Kyle Edwards d3cc815c98 CMP0153: Add suggestion to use execute_process() 2023-10-27 09:43:18 -04:00
Kyle Edwards 8313d26198 cmState::AddDisallowedCommand(): Allow additional warning info 2023-10-27 09:42:53 -04:00
Brad King f884a94a0b Merge topic 'cpack-archive-dedup'
770efceccb CPack: Avoid adding duplicate files to archive when combining components

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8839
2023-10-27 09:07:49 -04:00
Brad King f55043f87e Merge topic 'unity-build-objc'
e218db1a90 Unity: Enable UNITY_BUILD for OBJC and OBJCXX files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8906
2023-10-27 09:06:44 -04:00
Brad King 9627ef86c9 Merge topic 'debugger-function-name-in-stacktrace'
c028425df9 Debugger: report function name in DAP stackframes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8913
2023-10-27 09:04:06 -04:00
Brad King e46e1837dd Merge topic 'fix-Wdeprecated-this-capture'
07e9734790 Source: Fix clang -Wdeprecated-this-capture warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8917
2023-10-27 08:59:52 -04:00
Brad King 0ca2253087 Merge topic 'fix-Wstrict-prototypes'
81022213f6 Modules: Fix clang -Wstrict-prototypes warnings
47c3334203 Source: Fix clang -Wstrict-prototypes warnings
264dcae5e4 Tests: Fix clang -Wstrict-prototypes warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8916
2023-10-27 08:58:43 -04:00
Kitware Robot be3c18e265 CMake Nightly Date Stamp 2023-10-27 00:01:12 -04:00
Atılhan Emre Dursunoğlu 770efceccb CPack: Avoid adding duplicate files to archive when combining components
Fixes: #25280
2023-10-26 18:20:48 +03:00
Rob Raguet-Schofield e218db1a90 Unity: Enable UNITY_BUILD for OBJC and OBJCXX files 2023-10-26 10:01:41 -04:00
Dmitry.Neverov c028425df9 Debugger: report function name in DAP stackframes
Before a file name and a line were returned, but they can be
obtained by other means.

Fixes: #25091
2023-10-26 09:51:32 -04:00
Brad King 0715b17ddd Merge topic 'link-dependency-file'
dc013be1fb Link Step: linker depfile configuration: bug fix

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8915
2023-10-26 09:43:45 -04:00
Brad King 91e4d86df3 Merge topic 'hint-about-missing-extension-on-windows'
186673ba0b cmGlobalGenerator: hint about missing extensions on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8914
2023-10-26 09:42:43 -04:00
Brad King a82c7040d4 Merge topic 'iar-nightly'
37e44707bc IAR: Add tests covering IAR toolchains

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8909
2023-10-26 09:41:38 -04:00
Sean McBride 07e9734790 Source: Fix clang -Wdeprecated-this-capture warnings
Explicitly capture variables used in the lambda.
2023-10-26 09:24:54 -04:00
Sean McBride 81022213f6 Modules: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Sean McBride 47c3334203 Source: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Brad King 264dcae5e4 Tests: Fix clang -Wstrict-prototypes warnings 2023-10-26 09:20:45 -04:00
Kitware Robot 2ae35c5657 CMake Nightly Date Stamp 2023-10-26 00:01:07 -04:00
Marc Chevrier dc013be1fb Link Step: linker depfile configuration: bug fix
Follow up commit 538ff514b5 (Link Step: use the correct linker
for depfile handling, 2023-10-16)
2023-10-25 16:37:30 +02:00
Kitware Robot 35424aab2e CMake Nightly Date Stamp 2023-10-25 00:01:10 -04:00
Brad King 95829c8a87 Merge branch 'release-3.28' 2023-10-24 14:20:05 -04:00
Brad King e3747a2d4b CMake 3.28.0-rc3 v3.28.0-rc3 2023-10-24 13:46:27 -04:00
Ben Boeckel 186673ba0b cmGlobalGenerator: hint about missing extensions on Windows
Discussed on Discourse:

    https://discourse.cmake.org/t/cross-compiling-from-a-windows-host-targeting-raspbian-32-bits-arm/9250
2023-10-24 11:21:31 -04:00
Brad King 1c15cfe568 Merge topic 'compute-compiler-linker'
538ff514b5 Link Step: use the correct linker for depfile handling
c26c6ac488 Link Step: compute effective linker used by the compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8885
2023-10-24 09:41:23 -04:00
Marc Chevrier 538ff514b5 Link Step: use the correct linker for depfile handling
Follow up commit 375e6fdbbe (Link step: use linker dependency linker
file, 2023-04-19, v3.27.0-rc1~126^2).
2023-10-24 08:36:43 -04:00
Marc Chevrier c26c6ac488 Link Step: compute effective linker used by the compiler
Extract the effective linker during the computation of implicit artifacts
delivered by the compiler to the linker.
Define various variables describing the linker:
* CMAKE_<LANG>_COMPILER_LINKER
* CMAKE_<LANG>_COMPILER_LINKER_VERSION
* CMAKE_<LANG>_COMPILER_LINKER_ID
* CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT

This is complementary to feature introduced by commit 96a953b1ed
(Add options to specify linker tool, 2023-09-27).

Fixes: #17596, #18209, #25344
2023-10-24 08:34:50 -04:00
Brad King c54cb0000d Merge topic 'vector-emplace-back'
9ca6dfc280 Source: Reduce vector entry allocations and copies
aaeb2e0aa8 cmLinkItemGraphVisitor: Remove unnecessary syntax
d1c1e95331 cmCPackInnoSetupGenerator: Reserve space to reduce allocations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8891
2023-10-24 08:33:07 -04:00
Brad King fd3c95140e Merge topic 'misc-warnings'
6ed999674c Fix clang -Wdeprecated-pragma warnings by removing deprecated ATOMIC_VAR_INIT
162e017b2d Fix clang -Wstrict-prototypes by making main take void instead of nothing
b373a22991 Fix clang -Wreserved-identifier by renaming an enum

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !8905
2023-10-24 08:31:55 -04:00
Brad King a27d12c6c0 Merge branch 'release-3.28' 2023-10-24 08:29:10 -04:00
Brad King 2b14b21e40 Merge topic 'cmcldeps-quote-rc'
03080d18eb cmcldeps: Restore support for rc.exe path not fully GetShortPathName-d

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8912
2023-10-24 08:29:09 -04:00