Brad King
4972938b7d
CMake 4.0.0-rc2
5 months ago
Brad King
24ccafab4f
Merge topic 'libuv-kvm-bsd-dependency-removal' into release-4.0
4f0fb73816
libuv: Remove kvm dependency for all BSDs except NetBSD
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10385
5 months ago
Brad King
d0144bfbf7
Merge topic 'instrumentation-quote-command' into release-4.0
4e7b37cad3
instrumentation: Quote command arguments to preserve separation
99cd4d979b
CTest: Fix startTime in test snippets when using instrumentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10386
5 months ago
Roger Leigh
4f0fb73816
libuv: Remove kvm dependency for all BSDs except NetBSD
This dependency is not expressed in upstream libuv. It was added to
CMake by commit 6a497bb0a3
(libuv: Link with kvm on FreeBSD, 2016-09-08,
v3.7.0-rc1~143^2~1). It is needed only on NetBSD.
Fixes : #26722
5 months ago
Martin Duffy
4e7b37cad3
instrumentation: Quote command arguments to preserve separation
Fixes : #26702
5 months ago
Martin Duffy
99cd4d979b
CTest: Fix startTime in test snippets when using instrumentation
Initialize SystemStartTime for TestProcess.
5 months ago
Brad King
12e76f1e26
Merge branch 'release-3.31' into release-4.0
5 months ago
Brad King
859ca5c4d7
CMake 3.31.6
5 months ago
Brad King
db1478d145
Merge branch 'release-3.31' into release-4.0
5 months ago
Brad King
1e2e9ceccf
Merge branch 'release-3.30' into release-3.31
5 months ago
Brad King
2bd6fbe1b0
CMake 3.30.8
5 months ago
Brad King
d256fd9566
Merge branch 'release-3.31' into release-4.0
5 months ago
Brad King
70c8f9b249
Merge branch 'release-3.30' into release-3.31
5 months ago
Brad King
7fb69c7452
Merge topic 'backport-3.31-custom-transitive-properties' into release-3.31
8b5af40b34
GenEx: Fix evaluation of LINK_LIBRARIES as custom transitive property
161f703e76
GenEx: Restore evaluation context for conditional transitive properties
419c19d531
Tests: Extend CustomTransitiveProperties with custom transitive LINK_LIBRARIES
ff2004d430
Tests: Extend CustomTransitiveProperties with non-transitive LINK_LIBRARIES
d7f1a100d9
Tests: Split CustomTransitiveProperties argument checks into helper
2ccbad90e6
cmGeneratorExpressionDAGChecker: Construct with initializer list syntax
99fee5720d
cmGeneratorExpressionDAGChecker: De-duplicate constructor signature
82151ea289
cmGeneratorExpressionDAGChecker: Construct with initializer list syntax
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10384
5 months ago
Brad King
d061599f5c
Merge topic 'backport-3.30-custom-transitive-properties' into release-3.30
8b5af40b34
GenEx: Fix evaluation of LINK_LIBRARIES as custom transitive property
161f703e76
GenEx: Restore evaluation context for conditional transitive properties
419c19d531
Tests: Extend CustomTransitiveProperties with custom transitive LINK_LIBRARIES
ff2004d430
Tests: Extend CustomTransitiveProperties with non-transitive LINK_LIBRARIES
d7f1a100d9
Tests: Split CustomTransitiveProperties argument checks into helper
99fee5720d
cmGeneratorExpressionDAGChecker: De-duplicate constructor signature
82151ea289
cmGeneratorExpressionDAGChecker: Construct with initializer list syntax
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10384
5 months ago
Brad King
02b3ed79a0
Merge topic 'custom-transitive-properties' into release-4.0
77c7397ab4
Merge branch 'backport-3.31-custom-transitive-properties'
478d6cfd9a
Merge branch 'backport-3.30-custom-transitive-properties'
8b5af40b34
GenEx: Fix evaluation of LINK_LIBRARIES as custom transitive property
161f703e76
GenEx: Restore evaluation context for conditional transitive properties
419c19d531
Tests: Extend CustomTransitiveProperties with custom transitive LINK_LIBRARIES
ff2004d430
Tests: Extend CustomTransitiveProperties with non-transitive LINK_LIBRARIES
d7f1a100d9
Tests: Split CustomTransitiveProperties argument checks into helper
5ac3cca63d
Merge branch 'backport-3.31-custom-transitive-properties' (early part)
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10384
5 months ago
Brad King
77c7397ab4
Merge branch 'backport-3.31-custom-transitive-properties'
5 months ago
Brad King
478d6cfd9a
Merge branch 'backport-3.30-custom-transitive-properties'
5 months ago
Brad King
8b5af40b34
GenEx: Fix evaluation of LINK_LIBRARIES as custom transitive property
Fix logic from commit b9ee79b8a1
(GenEx: Add support for custom
transitive compile properties, 2024-05-09, v3.30.0-rc1~82^2~1) to more
precisely know when we are computing the link dependency graph.
Issue: #20416
Issue: #26709
5 months ago
Brad King
161f703e76
GenEx: Restore evaluation context for conditional transitive properties
In commit e8010b67c7
(cmGeneratorExpressionDAGChecker: Make local
generator available in constructor, 2024-04-25, v3.30.0-rc1~172^2~6)
we accidentally failed to preserve `EvaluateInterfaceProperty`'s
consistency with `TargetPropertyNode::Evaluate`. Fix its local
generator selection to match the evaluation context.
5 months ago
Brad King
419c19d531
Tests: Extend CustomTransitiveProperties with custom transitive LINK_LIBRARIES
Demonstrate presence of extra entries due to not always avoiding repeat
visits.
5 months ago
Brad King
ff2004d430
Tests: Extend CustomTransitiveProperties with non-transitive LINK_LIBRARIES
5 months ago
Brad King
d7f1a100d9
Tests: Split CustomTransitiveProperties argument checks into helper
5 months ago
Brad King
5ac3cca63d
Merge branch 'backport-3.31-custom-transitive-properties' (early part)
5 months ago
Brad King
8fa7d330d2
Merge branch 'backport-3.30-custom-transitive-properties' (early part)
5 months ago
Brad King
2ccbad90e6
cmGeneratorExpressionDAGChecker: Construct with initializer list syntax
5 months ago
Brad King
99fee5720d
cmGeneratorExpressionDAGChecker: De-duplicate constructor signature
5 months ago
Brad King
82151ea289
cmGeneratorExpressionDAGChecker: Construct with initializer list syntax
5 months ago
Brad King
1d606df7cc
Merge topic 'policy-version-env' into release-4.0
33856b1d62
Add CMAKE_POLICY_VERSION_MINIMUM environment variable
04721acc6c
Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in initial cache script
729470ff6d
Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in script mode
6cd10ffed7
Tests: Cover CMAKE_POLICY_VERSION_MINIMUM as cache entry
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: John Parent <john.parent@kitware.com>
Merge-request: !10376
5 months ago
Brad King
0dd8cdc831
Merge topic 'fix-cps-in-prefix-root' into release-4.0
da0d2a996d
CPS: Fix importing from the prefix root
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10375
5 months ago
Brad King
161d20af84
Merge topic 'test-implicit-link-info' into release-4.0
626d466b12
Tests: Make RunCMake.ParseImplicitLinkInfo robust to on-disk libstdc++.a
bf2067d67b
Tests: Fix typos in RunCMake.ParseImplicitLinkInfo sample data
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10378
5 months ago
Brad King
7886374d2b
Merge topic 'doc-add_dependencies' into release-4.0
77a742b088
Help: add_dependencies requires at least two arguments
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10370
5 months ago
Brad King
a96a80ca09
Merge topic 'rel-src-cleanup' into release-4.0
57a24181ed
clang-tidy: Do not require config file if not running clang-tidy
aa42ba1ac8
gitattributes: Do not export pre-commit config file in source archives
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10371
5 months ago
Brad King
626d466b12
Tests: Make RunCMake.ParseImplicitLinkInfo robust to on-disk libstdc++.a
Extend commit 1d7fddca8e
(CMakeParseImplicitLinkInfo: Honor GNU static
runtime library flags, 2021-06-02, v3.21.0-rc1~85^2) to cover Cray 8.7
sample data.
5 months ago
Brad King
bf2067d67b
Tests: Fix typos in RunCMake.ParseImplicitLinkInfo sample data
5 months ago
Brad King
33856b1d62
Add CMAKE_POLICY_VERSION_MINIMUM environment variable
Extend commit 1a35351125
(Add CMAKE_POLICY_VERSION_MINIMUM to help
configure outdated projects, 2025-02-13, v4.0.0-rc1~12^2) with an
environment variable to initialize the cache entry. That will make it
easier to use when `cmake` is invoked under layers of scripting.
Closes : #26715
5 months ago
Brad King
04721acc6c
Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in initial cache script
5 months ago
Brad King
729470ff6d
Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in script mode
5 months ago
Brad King
6cd10ffed7
Tests: Cover CMAKE_POLICY_VERSION_MINIMUM as cache entry
5 months ago
Matthew Woehlke
da0d2a996d
CPS: Fix importing from the prefix root
Tweak resolution of CPS prefix path to support the case of the .cps file
being in the prefix root.
5 months ago
Brad King
57a24181ed
clang-tidy: Do not require config file if not running clang-tidy
Since commit 00cfea965b
(gitattributes: Do not export lint config files
in source archives, 2025-01-24, v4.0.0-rc1~129^2) the `.clang-tidy`
config file is not available in source archives. Require it only when
the `CMake_RUN_CLANG_TIDY` option is turned on, which we only do in
development and CI builds.
Fixes : #26712
5 months ago
Brad King
aa42ba1ac8
gitattributes: Do not export pre-commit config file in source archives
Exclude the file added by commit de59765336
(pre-commit: Add an initial
configuration file, 2025-01-04, v4.0.0-rc1~118^2~11).
5 months ago
Brad King
77a742b088
Help: add_dependencies requires at least two arguments
Update the documentation to match the implementation.
5 months ago
Brad King
4b5b172a65
CMake 4.0.0-rc1
5 months ago
Brad King
ccfa403859
Merge topic 'instrumentation-presets-hooks' into release-4.0
45d3ffaa95
instrumentation: Use auto for variables holding closures
d75ccd9f8d
instrumentation: Fix docs for ctest --collect-instrumentation option
a2232db802
instrumentation: Make hooks compatible with presets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10352
5 months ago
Brad King
d40e1a0682
Merge topic 'policy_max-docs' into release-4.0
48095c623f
Help/cmake_minimum_required: clarify policy_max `versionadded` note
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10363
5 months ago
Brad King
4c2bdf177d
Merge topic 'doc-4.0-relnotes-typo' into release-4.0
b5374e0405
Help: Fix typo in 4.0 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10358
5 months ago
Ben Boeckel
48095c623f
Help/cmake_minimum_required: clarify policy_max `versionadded` note
While the prose clarifies this below, a quick glance at the docs can
make one believe that `...3.10` has no sensible use. However, it is
still useful to tell CMake 3.12 and up that at least 3.10 behavior is
accepted.
5 months ago
Martin Duffy
45d3ffaa95
instrumentation: Use auto for variables holding closures
5 months ago
Martin Duffy
d75ccd9f8d
instrumentation: Fix docs for ctest --collect-instrumentation option
5 months ago