Commit Graph

62667 Commits

Author SHA1 Message Date
Ben Boeckel
04300579dd Modules/Internal/FeatureTesting: mark feature testing as a special test 2023-07-31 11:37:47 -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
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
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
Ben Boeckel
efad4391e5 Tests/RunCMake/property_init: test 'with_commands' properties 2023-07-29 09:35:21 -04:00
Ben Boeckel
5f1bf85f84 Tests/RunCMake/property_init: test 'with_artifact' properties 2023-07-29 09:35:21 -04:00
Ben Boeckel
02972ed9e8 Tests/RunCMake/property_init: test 'shared_library' properties 2023-07-29 09:35:21 -04:00
Ben Boeckel
653a32aa72 Tests/RunCMake/property_init: test 'pic_targets' properties 2023-07-29 09:35:21 -04:00
Ben Boeckel
141049cf16 Tests/RunCMake/property_init: test 'normal' properties 2023-07-29 09:35:21 -04:00
Ben Boeckel
bc318ceb7f Tests/RunCMake/property_init: test 'non_imported' properties 2023-07-29 09:35:21 -04:00
Ben Boeckel
0b56e3fedd Tests/RunCMake/property_init: test 'normal_non_imported' properties 2023-07-29 09:35:20 -04:00
Ben Boeckel
c1ff120e42 Tests/RunCMake/property_init: test 'linkable' properties 2023-07-29 09:35:20 -04:00
Ben Boeckel
313c6a9c74 Tests/RunCMake/property_init: test 'library_with_artifact' properties 2023-07-29 09:35:20 -04:00
Ben Boeckel
bb469aef2d Tests/RunCMake/property_init: add per_config table builder helper 2023-07-29 09:35:20 -04:00
Ben Boeckel
a048be7e3a Tests/RunCMake/property_init: test 'imported' properties 2023-07-29 09:35:20 -04:00
Ben Boeckel
a6ebd68aa7 Tests/RunCMake/property_init: test 'executable' properties 2023-07-29 09:35:20 -04:00
Ben Boeckel
5bad24935c Tests/RunCMake/property_init: test 'can_compile' properties 2023-07-29 09:35:20 -04:00
Ben Boeckel
82507e80eb Tests/RunCMake/property_init: test 'always' properties
All targets get these targets initialized.
2023-07-29 09:35:20 -04:00
Ben Boeckel
721f1b608c Tests/RunCMake/property_init: add a function to test properties
This function consumes a property table and tests against every kind of
target: those for which the initialization happens and those that should
ignore them.

Also add a function that can build the pairs of target type lists
required.
2023-07-29 09:35:20 -04:00
Ben Boeckel
1c0963e9f2 Tests/RunCMake/property_init: add functions to make example targets 2023-07-29 09:35:20 -04:00
Ben Boeckel
7b9378be43 Tests/RunCMake/property_init: add a function to parse property tables
The tables will be triples of property / value / alias value. Parsing is
a bit tricky, but is easier when `foreach (IN ZIP_LISTS)` with the
values in their distinct list.
2023-07-29 09:35:20 -04:00
Ben Boeckel
16c24cce47 Tests/RunCMake/property_init: add a function to check a property 2023-07-29 09:35:20 -04:00
Ben Boeckel
f81351607c Tests/RunCMake/property_init: add skeleton for testing 2023-07-29 09:35:20 -04:00
Ben Boeckel
d718262faa cmTarget: handle HIP_STANDARD like other language standards 2023-07-29 09:35:20 -04:00
Ben Boeckel
1d4a013dd1 Help: fix agreement in DLL_NAME_WITH_SOVERSION docs 2023-07-29 09:35:20 -04:00
Ben Boeckel
e53b4c9fb9 Help: fix cross-linking from Swift_LANGUAGE_VERSION property 2023-07-29 09:35:20 -04:00
Kitware Robot
eb092ade48 CMake Nightly Date Stamp 2023-07-29 00:01:13 -04:00
Kyle Edwards
4cf5eab79d Merge topic 'xcframework-find-library'
9bf8f7de06 find_library(): Add support for .xcframework

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8661
2023-07-28 14:59:14 -04:00
Kyle Edwards
9bf8f7de06 find_library(): Add support for .xcframework
Issue: #21752
2023-07-28 14:41:45 -04:00
Brad King
731fba7751 Merge topic 'readme-bootstrap'
803a79dd69 README: Update bootstrap example to use 'build' directory under source

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !8662
2023-07-28 10:49:57 -04:00
Brad King
241ee252ce IWYU: Update for Debian 12 CI job
`include-what-you-use` diagnostics, in practice, are specific to
the environment's compiler and standard library.  Update includes
to satisfy IWYU for our CI job under Debian 12.
2023-07-28 09:14:08 -04:00
Brad King
09db788636 ci: use Debian 12 images and environments 2023-07-28 09:14:07 -04:00
Brad King
9526679bbc ci: Update base images to Debian 12 2023-07-28 09:14:07 -04:00
Brad King
e49ff2b2f2 Merge topic 'ExportTestLabelToJUnit'
2b99e64413 set_test_properties: link to the test properties in the documentation
b11e8afbfa ctest: export test labels to junit xml

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8635
2023-07-28 09:12:23 -04:00
Brad King
3b62d29551 Merge branch 'release-3.27' 2023-07-28 09:08:40 -04:00
Brad King
8268fc8661 Merge topic 'cxx-atomic'
78bbd58545 Source: Link libatomic when needed on Linux 32-bit ARM

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8663
2023-07-28 09:08:40 -04:00
Brad King
094b98a374 Merge topic 'cxx-atomic' into release-3.27
78bbd58545 Source: Link libatomic when needed on Linux 32-bit ARM

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8663
2023-07-28 09:08:39 -04:00
Kitware Robot
e1699f123e CMake Nightly Date Stamp 2023-07-28 00:01:11 -04:00
Brad King
78bbd58545 Source: Link libatomic when needed on Linux 32-bit ARM
Fixes: #25114
2023-07-27 11:07:21 -04:00
Brad King
803a79dd69 README: Update bootstrap example to use 'build' directory under source
When the example was first written, developers commonly placed their
build trees as siblings of the source tree.  Nowadays many developers
use a `build/` directory under the top-level source directory instead.
Update the example with the modern convention to avoid requiring the
reader to understand that `cmake-source` is a placeholder for the path
to the source tree.
2023-07-27 10:15:11 -04:00
Kyle Edwards
07ac0c0ae0 Merge topic 'xcframework-target-link-libraries'
7050ac56a1 macOS: Add support for linking against .xcframework folders
93ed53790c bootstrap: Unconditionally build libjsoncpp

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8619
2023-07-27 10:06:22 -04:00
Brad King
054ed1c594 Merge topic 'cmuvprocesschain-wait-0'
830a4b37aa cmUVProcessChain::Wait(): Treat timeout of 0 as no timeout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8658
2023-07-27 10:01:05 -04:00
Brad King
629cfc1dfa Merge branch 'release-3.27' 2023-07-27 09:59:20 -04:00
Brad King
c46182cf55 Merge topic 'doc-if-exists'
3ab132d86f Help: Document that if(EXISTS) requires paths to be readable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8656
2023-07-27 09:59:20 -04:00
Brad King
2d8aeaca07 Merge topic 'doc-if-exists' into release-3.27
3ab132d86f Help: Document that if(EXISTS) requires paths to be readable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8656
2023-07-27 09:59:19 -04:00
Brad King
b8c4607b28 Merge topic 'ci-more-tests'
077678d3f9 ci: test CDash submission tests on some nightly dashboards
fe55a0ebf4 ci: enable more tests to better match nightly dashboards

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8646
2023-07-27 09:54:11 -04:00
Kitware Robot
d68fa82d8d CMake Nightly Date Stamp 2023-07-27 00:01:11 -04:00
Kyle Edwards
7050ac56a1 macOS: Add support for linking against .xcframework folders
Issue: #21752
2023-07-26 17:00:01 -04:00