Ben Boeckel
e166bbef7b
cmComputeLinkInformation: prepare Item consumers for OBJECT libraries
...
After b665966933 (cmComputeLinkInformation: track `OBJECT` library
dependencies, 2023-07-22), introduced in !8645 as a fix for #25112 ,
`OBJECT` libraries were tracked in a separate member to reduce the risk
of further regressions. This commit prepares consumers to handle
`OBJECT` libraries once they start appearing as link items.
2023-08-01 10:06:02 -04:00
Brad King
17dcd9424a
Merge topic 'xcode-embed-resources'
...
e40d2cb3af Xcode: Add embed resources support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Deal <halx99@live.com >
Merge-request: !8632
2023-08-01 09:33:15 -04:00
Brad King
d8b6a750a0
Merge topic 'windows-tidy-cmstrcat'
...
d58253d155 clang-tidy: fix `performance-faster-string-find` lints
a19ec77200 clang-tidy: fix `readability-static-accessed-through-instance` lints
3d03629f20 cmWIXRichTextFormatWriter: remove identity cast
1df29567ac clang-tidy: fix `modernize-use-equals-default` lints
32fe862b8c clang-tidy: fix `readability-container-size-empty` lints
7eaab9a957 clang-tidy: fix `modernize-raw-string-literal` lints
ffa49c23aa clang-tidy: fix `readability-else-after-return` lints
4489e9a85c clang-tidy: fix `modernize-use-auto` lints
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8668
2023-08-01 09:31:45 -04:00
Brad King
08c637423c
Merge topic 'clang-tidy-xcode-generator'
...
09b7ac7f67 strings: use single characters where possible
6aa9023700 string_view: use string_view literals in comparisons
1b60137b98 strings: combine string literals
e1b70d7286 cmCPackDragNDropGenerator: use a string instead of a stream for commands
f5d04b5bf0 cmStrCat: use where possible in Apple-specific sources
3af822cd8f cmXCode21Object: simplify streaming expression
c4f751604b cmLocalXCodeGenerator: return a default string
ce549909fb cmCPackPKGGenerator: remove unnecessary `.c_str()` calls
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8660
2023-08-01 09:30:55 -04:00
Brad King
d56b0f9339
Merge topic 'test_utf8_improve'
...
3ce4e9523c testUTF8: Improve using string_view
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8673
2023-08-01 09:29:09 -04:00
Brad King
40f25113af
Merge topic 'doc_ep'
...
c949a8742e ExternalProject: Add option subsection anchors for accessibility from TOC
6828b9df5a Help/dev: Extend documentation guide with another section nesting level
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8657
2023-08-01 09:27:02 -04:00
Brad King
f0c95e2630
Merge topic 'ci-debian-legacy'
...
9d64df3e1c ci: Add job for Debian 10 legacy packages
07f42b3690 ci: Add an image for Python 2 on Debian 10
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8676
2023-08-01 09:24:52 -04:00
Brad King
56defe5290
Merge topic 'ci-hip'
...
1177d5c127 ci: Add HIP job based on Debian image
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8675
2023-08-01 09:23:36 -04:00
Brad King
a27e4d23c2
Merge branch 'release-3.27'
2023-08-01 09:22:32 -04:00
Brad King
653754794a
Merge topic 'FindPython-Debian-workaround'
...
b02f3872d0 FindPython: Restore Python_SITE* values for versions below 3.10
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8672
2023-08-01 09:22:31 -04:00
Brad King
6e4822a035
Merge topic 'FindPython-Debian-workaround' into release-3.27
...
b02f3872d0 FindPython: Restore Python_SITE* values for versions below 3.10
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8672
2023-08-01 09:22:30 -04:00
Kitware Robot
823436a41c
CMake Nightly Date Stamp
2023-08-01 00:01:10 -04:00
Marc Chevrier
b02f3872d0
FindPython: Restore Python_SITE* values for versions below 3.10
...
Debian based distributions have a buggy sysconfig package.
So, rely on distutils.sysconfig if python version is less than 3.10.
Fixes : #25135
2023-07-31 15:00:44 -04:00
Brad King
9d64df3e1c
ci: Add job for Debian 10 legacy packages
...
Test Python 2 packages in Debian 10. They are not available in Debian 12.
2023-07-31 13:48:37 -04:00
Brad King
07f42b3690
ci: Add an image for Python 2 on Debian 10
...
Debian 12 no longer packages Python 2, so we test Python 2 find
modules on an older version.
2023-07-31 13:47:41 -04:00
Brad King
1177d5c127
ci: Add HIP job based on Debian image
...
The Debian package for `hipcc` organizes the `hip-lang` cmake package
differently from the official ROCm base images. Cover it separately.
Issue: #24562
2023-07-31 12:08:36 -04:00
Brad King
eb9195e9ef
Merge topic 'CheckLanguage-doc-cuda-host'
...
be03265fa0 Help: Explicitly note that projects should not set CMAKE_CUDA_HOST_COMPILER
13d78bbf16 CheckLanguage: Document that CMAKE_CUDA_HOST_COMPILER should not be set alone
cfd92dece3 CheckLanguage: Modernize documentation formatting
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8670
2023-07-31 11:50:20 -04:00
scivision
c949a8742e
ExternalProject: Add option subsection anchors for accessibility from TOC
...
Use RST subsections for each major step of `ExternalProject_Add()`.
This makes finding options easier with less scrolling.
For example, finding important Download vs. Test options etc.
Fixes : #25129
2023-07-31 11:21:10 -04:00
Brad King
6828b9df5a
Help/dev: Extend documentation guide with another section nesting level
2023-07-31 11:21:10 -04:00
Brad King
7518fd6074
Merge topic 'test-target-property-init'
...
b66c494ca4 Tests/RunCMake/property_init: test 'with_exports' properties
efad4391e5 Tests/RunCMake/property_init: test 'with_commands' properties
5f1bf85f84 Tests/RunCMake/property_init: test 'with_artifact' properties
02972ed9e8 Tests/RunCMake/property_init: test 'shared_library' properties
653a32aa72 Tests/RunCMake/property_init: test 'pic_targets' properties
141049cf16 Tests/RunCMake/property_init: test 'normal' properties
bc318ceb7f Tests/RunCMake/property_init: test 'non_imported' properties
0b56e3fedd Tests/RunCMake/property_init: test 'normal_non_imported' properties
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8655
2023-07-31 10:50:23 -04:00
Brad King
be03265fa0
Help: Explicitly note that projects should not set CMAKE_CUDA_HOST_COMPILER
...
Issue: #25093
2023-07-31 10:46:00 -04:00
Brad King
13d78bbf16
CheckLanguage: Document that CMAKE_CUDA_HOST_COMPILER should not be set alone
...
Follow up commit 7968d9d442 (Help: Document CMAKE_CUDA_HOST_COMPILER as
specific to NVIDIA nvcc, 2020-07-14, v3.19.0-rc1~501^2) with an explicit
note in `CheckLanguage`.
Issue: #25093
2023-07-31 10:46:00 -04:00
Brad King
cfd92dece3
CheckLanguage: Modernize documentation formatting
2023-07-31 10:45:57 -04:00
Brad King
307b2dbadd
Merge topic 'ci-debian-12'
...
241ee252ce IWYU: Update for Debian 12 CI job
09db788636 ci: use Debian 12 images and environments
9526679bbc ci: Update base images to Debian 12
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8669
2023-07-31 10:42:01 -04:00
Kitware Robot
beebc77992
CMake Nightly Date Stamp
2023-07-31 00:01:56 -04:00
halx99
e40d2cb3af
Xcode: Add embed resources support
2023-07-31 09:08:10 +08:00
Ben Boeckel
d58253d155
clang-tidy: fix performance-faster-string-find lints
2023-07-30 20:19:49 -04:00
Ben Boeckel
a19ec77200
clang-tidy: fix readability-static-accessed-through-instance lints
2023-07-30 20:19:48 -04:00
Ben Boeckel
3d03629f20
cmWIXRichTextFormatWriter: remove identity cast
2023-07-30 20:19:48 -04:00
Ben Boeckel
1df29567ac
clang-tidy: fix modernize-use-equals-default lints
2023-07-30 20:19:48 -04:00
Ben Boeckel
32fe862b8c
clang-tidy: fix readability-container-size-empty lints
2023-07-30 20:19:48 -04:00
Ben Boeckel
7eaab9a957
clang-tidy: fix modernize-raw-string-literal lints
2023-07-30 20:19:48 -04:00
Ben Boeckel
09b7ac7f67
strings: use single characters where possible
2023-07-30 18:33:07 -04:00
Ben Boeckel
6aa9023700
string_view: use string_view literals in comparisons
2023-07-30 18:33:07 -04:00
Ben Boeckel
1b60137b98
strings: combine string literals
2023-07-30 18:33:07 -04:00
Ben Boeckel
e1b70d7286
cmCPackDragNDropGenerator: use a string instead of a stream for commands
2023-07-30 18:33:07 -04:00
Ben Boeckel
f5d04b5bf0
cmStrCat: use where possible in Apple-specific sources
2023-07-30 18:33:07 -04:00
Ben Boeckel
3af822cd8f
cmXCode21Object: simplify streaming expression
2023-07-30 18:33:07 -04:00
Ben Boeckel
c4f751604b
cmLocalXCodeGenerator: return a default string
...
Instead of using the `strlen`-based constructor.
2023-07-30 18:33:07 -04:00
Ben Boeckel
ce549909fb
cmCPackPKGGenerator: remove unnecessary .c_str() calls
2023-07-30 18:33:07 -04:00
Ben Boeckel
e48dbbf048
cmCPackDragNDropGenerator: remove unnecessary string construction
2023-07-30 18:33:07 -04:00
Ben Boeckel
22bc92fbc1
clang-tidy: fix readability-braces-around-statements lints
2023-07-30 18:33:07 -04:00
Ben Boeckel
e98088ef75
clang-tidy: fix modernize-use-override lints
2023-07-30 18:33:07 -04:00
Ben Boeckel
1c33464485
clang-tidy: fix readability-else-after-return lints
2023-07-30 18:33:07 -04:00
Ben Boeckel
709c185d8f
clang-tidy: fix bugprone-branch-clone lints
2023-07-30 18:33:07 -04:00
Ben Boeckel
efd9398844
clang-tidy: fix modernize-use-default-member-init lints
2023-07-30 18:33:07 -04:00
Ben Boeckel
084aa40ecb
clang-tidy: fix modernize-loop-convert lints
2023-07-30 18:33:07 -04:00
Vitaly Stakhovsky
3ce4e9523c
testUTF8: Improve using string_view
2023-07-30 15:55:39 -04:00
Kitware Robot
49e2a4a0a7
CMake Nightly Date Stamp
2023-07-30 00:01:07 -04:00
Ben Boeckel
b66c494ca4
Tests/RunCMake/property_init: test 'with_exports' properties
2023-07-29 09:35:21 -04:00