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
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
Kitware Robot
fbce5b627c
CMake Nightly Date Stamp
2023-10-28 00:01:09 -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
Brad King
81dc8b9db8
Merge topic 'cmcldeps-quote-rc' into release-3.28
...
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:08 -04:00
Brad King
1de0755a76
Merge branch 'release-3.28'
2023-10-24 08:27:21 -04:00
Brad King
b8e280dd93
Merge topic 'source_group-TREE-no-FILES'
...
8bb949fc30 source_group: Restore behavior of TREE with empty FILES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8910
2023-10-24 08:27:21 -04:00
Brad King
b93e602e28
Merge topic 'source_group-TREE-no-FILES' into release-3.28
...
8bb949fc30 source_group: Restore behavior of TREE with empty FILES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8910
2023-10-24 08:27:20 -04:00
Kitware Robot
a2c4b234f2
CMake Nightly Date Stamp
2023-10-24 00:01:07 -04:00
Brad King
03080d18eb
cmcldeps: Restore support for rc.exe path not fully GetShortPathName-d
...
In some cases `GetShortPathNameW` may not remove all spaces. If that
happens with the path to `rc.exe`, cmcldeps needs to explicitly quote
the path in the command it runs.
This was exposed by commit 50a6e78a82 (cmSystemTools::RunSingleCommand():
Replace cmsysProcess with cmUVProcessChain, 2023-07-25, v3.28.0-rc1~138^2~4)
because the underlying process execution library no longer reconstructs the
command line without quotes around commands without spaces.
Fixes : #25355
2023-10-23 17:03:01 -04:00
Felipe Torrezan
37e44707bc
IAR: Add tests covering IAR toolchains
...
Run the tests only if enabled explicitly by an undocumented cache
entry. We will enable it on hosts known to have the toolchains.
2023-10-23 15:59:40 -04:00
Brad King
a835d583f5
Merge branch 'release-3.28'
2023-10-23 12:06:34 -04:00
Brad King
44c144391d
Merge topic 'clang-ansi-color'
...
74b5fae52d Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8900
2023-10-23 12:06:34 -04:00
Brad King
b99e99e1aa
Merge topic 'clang-ansi-color' into release-3.28
...
74b5fae52d Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8900
2023-10-23 12:06:33 -04:00
Rose
9ca6dfc280
Source: Reduce vector entry allocations and copies
...
Prefer `emplace_back` over `push_back`.
2023-10-23 11:18:32 -04:00