Brad King
cde63efaea
Tests/ExternalProject: Update sample projects to require CMake 3.31
2024-11-20 10:54:01 -05:00
Brad King
0d416ad57f
Tests/PolicyScope: Use more recent policies
2024-11-20 10:54:01 -05:00
Brad King
bc77fb0d55
Tests/CMakeLib: Use more recent policies
2024-11-20 10:54:01 -05:00
Brad King
68a07a6610
Tests: Add missing cmake_minimum_required calls
2024-11-20 10:54:01 -05:00
Brad King
a35f4cbbca
cmGeneratorTarget: Remove unused ComputeLinkInterface signature
2024-11-20 10:54:01 -05:00
Brad King
b97b1d1ed4
cmPolicies: Factor out macro to old VERSION update advice
2024-11-20 10:54:01 -05:00
Brad King
aaebad0993
cmPolicies: Factor out helper to recognize generated cmake_policy calls
2024-11-20 10:54:00 -05:00
Brad King
ad3ae50adf
cmLinkItem: Remove incorrect CMP0003_ prefix on function
...
The `ComputeLinkType` function is not related to CMP0003.
2024-11-20 10:54:00 -05:00
Brad King
6be01c932e
Merge topic 'install-multi-config'
...
ea8e3107ec
cmake --install: Respect CMAKE_DEFAULT_CONFIGS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9994
2024-11-20 09:35:55 -05:00
Brad King
abbe8e860d
Merge topic 'various-refactorings'
...
8352a2d12f
cmFileCommand.cxx: Optimize `cmStrCat()` calls
e2c9bb7f54
cmFindBase.cxx: Optimize `cmStrCat()` calls
16a1fa9e35
cmFindBase.cxx: Check `DebugMode` and exit early to reduce indentation
6751b3d9b4
cmLocalGenerator.cxx: Optimize `std::ostream::operator<<()` calls
11bf70f968
FindPackageHandleStandardArgs: Remove the unneeded symbol from the message
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10013
2024-11-20 09:34:21 -05:00
Brad King
68d15b17c3
Merge topic 'ExternalProject-install-jobserver'
...
1bdaad7573
ExternalProject: Optionally integrate 'make' job server with INSTALL_COMMAND
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10015
2024-11-20 09:33:04 -05:00
Brad King
5b509ec9b4
Merge topic 'load_command-Wcast-function-type-strict'
...
78e95e4ce1
cmLoadCommandCommand: Suppress -Wcast-function-type-strict warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10017
2024-11-20 09:29:42 -05:00
Brad King
3a483ccabe
Merge topic 'pkg-config-versionadded'
...
c14a9c4648
Help: Correct FindPkgConfig version tags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10012
2024-11-20 09:28:26 -05:00
Brad King
100f411e3d
Merge topic 'doc-cli-color'
...
d94e3eac10
Help: Clarify CLICOLOR and CLICOLOR_FORCE environment variables
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10016
2024-11-20 09:27:11 -05:00
Brad King
242702803f
Merge topic 'doc-if-path'
...
3530eef3fb
Help: Clarify that if(PATH_EQUAL) does not access the filesystem
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Marc Chevrier <marc.chevrier@gmail.com>
Merge-request: !10001
2024-11-20 09:25:29 -05:00
Brad King
ee5d3018d4
Merge branch 'release-3.31'
2024-11-20 09:20:05 -05:00
Brad King
bd200f9215
Merge topic 'cps-export-experimental-message'
...
71784bb6d8
cmExperimental: Make CPS-export experimental notice more consistent
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10019
2024-11-20 09:20:05 -05:00
Brad King
5b2f718f26
Merge topic 'cps-export-experimental-message' into release-3.31
...
71784bb6d8
cmExperimental: Make CPS-export experimental notice more consistent
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10019
2024-11-20 09:20:03 -05:00
Kitware Robot
321efcce60
CMake Nightly Date Stamp
2024-11-20 00:01:53 -05:00
Matthew Woehlke
71784bb6d8
cmExperimental: Make CPS-export experimental notice more consistent
...
There is an inadvertent inconsistency in the notice for the CPS export
experimental feature as compared to other experimental feature notices.
Change it to be consistent.
2024-11-19 17:40:06 -05:00
scivision
3530eef3fb
Help: Clarify that if(PATH_EQUAL) does not access the filesystem
...
Fixes : #26421
2024-11-19 12:01:03 -05:00
Brad King
78e95e4ce1
cmLoadCommandCommand: Suppress -Wcast-function-type-strict warning
...
We need this style cast to load plugins, and it works on architectures
we support.
2024-11-19 11:56:37 -05:00
Martin Duffy
ea8e3107ec
cmake --install: Respect CMAKE_DEFAULT_CONFIGS
...
When `cmake --install` is run with no `--config` passed, use
`CMAKE_DEFAULT_CONFIGS` to determine which config(s) to install.
Fixes : #21475
2024-11-19 11:37:47 -05:00
Brad King
d94e3eac10
Help: Clarify CLICOLOR and CLICOLOR_FORCE environment variables
...
Document variable precedence.
Link to third-party documentation of the convention these follow.
For now, link to an older view of the documentation since our
implementation has not been updated for `NO_COLOR`.
Issue: #26458
2024-11-19 11:35:16 -05:00
Brad King
1bdaad7573
ExternalProject: Optionally integrate 'make' job server with INSTALL_COMMAND
...
Add an `INSTALL_JOB_SERVER_AWARE` option to `ExternalProject_Add`.
When using an explicit `INSTALL_COMMAND`, the generated commands
won't use `$(MAKE)` thus failing to connect to the outer make's
job server. Add an option enable explicit job server integration.
This is the install step's equivalent to the build step's
`BUILD_JOB_SERVER_AWARE` option added by commit bc43398e72
(ExternalProject: Enable Make Job Server with Explicit Build Command,
2023-08-09, v3.28.0-rc1~217^2). It is useful when the external
project's installation is driven by its build system. Note that with
Makefile generators, our default install command does use `$(MAKE)` to
connect to the outer make's job server.
Issue: #26398
2024-11-19 10:22:24 -05:00
Brad King
908b2ca27c
Merge topic 'doc-find-root-dir'
...
b431306f22
Help: Clarify the Xxx_ROOT_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !10006
2024-11-19 10:20:40 -05:00
Brad King
542c3259a3
Merge topic 'armclang-no--list'
...
688d9ee9c2
ARMClang: Remove orphaned linker --list option
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10008
2024-11-19 10:15:38 -05:00
Brad King
bc07eab9f2
Merge branch 'release-3.31'
2024-11-19 10:14:42 -05:00
Brad King
af3a48a591
Merge topic 'Linux-deduplication-static-libs'
...
0445190d2f
LLD linker: avoid regression on archive libraries deduplication
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10010
2024-11-19 10:14:42 -05:00
Brad King
6b9aee9f38
Merge topic 'Linux-deduplication-static-libs' into release-3.31
...
0445190d2f
LLD linker: avoid regression on archive libraries deduplication
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10010
2024-11-19 10:14:40 -05:00
Brad King
93de9104c2
Merge branch 'release-3.31'
2024-11-19 10:12:41 -05:00
Brad King
365aab5650
Merge topic 'update-libarchive'
...
ddb72eb3e6
Merge branch 'upstream-LibArchive' into update-libarchive
ad48f00c30
LibArchive 2024-10-13 (b439d586)
e048b0cc94
libarchive: Update script to get 3.7.7
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10011
2024-11-19 10:12:40 -05:00
Brad King
a59e24cd50
Merge topic 'update-libarchive' into release-3.31
...
ddb72eb3e6
Merge branch 'upstream-LibArchive' into update-libarchive
ad48f00c30
LibArchive 2024-10-13 (b439d586)
e048b0cc94
libarchive: Update script to get 3.7.7
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10011
2024-11-19 10:12:38 -05:00
Brad King
941812426b
Merge topic 'doc-cli-color'
...
1224fbce3f
Help: Document CLICOLOR and CLICOLOR_FORCE environment variables
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alexander Ziaee <concussious@runbox.com>
Merge-request: !10009
2024-11-19 10:01:34 -05:00
Alex Turbov
8352a2d12f
cmFileCommand.cxx: Optimize cmStrCat()
calls
2024-11-19 17:57:57 +04:00
Alex Turbov
e2c9bb7f54
cmFindBase.cxx: Optimize cmStrCat()
calls
2024-11-19 17:57:43 +04:00
Alex Turbov
16a1fa9e35
cmFindBase.cxx: Check DebugMode
and exit early to reduce indentation
2024-11-19 17:57:38 +04:00
Alex Turbov
6751b3d9b4
cmLocalGenerator.cxx: Optimize std::ostream::operator<<()
calls
2024-11-19 17:57:33 +04:00
Alex Turbov
11bf70f968
FindPackageHandleStandardArgs: Remove the unneeded symbol from the message
2024-11-19 17:57:27 +04:00
FeRD (Frank Dana)
c14a9c4648
Help: Correct FindPkgConfig version tags
...
Two features in FindPkgConfig were added in a CMake version where
they were initially broken, and could only be used once the
implementation was fixed in a later version.
Previously, the docs contained a `.. versionadded` tag denoting the
version where the _broken_ implementation was introduced (its true
"version added", if we're being literal), with a comment in the
documentation source noting that the feature didn't actually work
correctly until whatever later version the comment specifies.
Since that's completely backwards, from a user perspective, reverse
the documentation so that the `.. versionadded` message shows when
the feature first worked **correctly**, with a comment noting that
support was technically introduced in an earlier version, but in a
broken/nonfunctioning state.
2024-11-19 02:23:25 -05:00
Kitware Robot
0662a7b4d7
CMake Nightly Date Stamp
2024-11-19 00:01:43 -05:00
Marc Chevrier
0445190d2f
LLD linker: avoid regression on archive libraries deduplication
...
Due to a bug on LLD linker for ELF binaries, deduplication should
occur only if CMP0156 and CMP0179 are NEW.
Fixes : #26447
2024-11-18 21:02:50 +01:00
Brad King
ddb72eb3e6
Merge branch 'upstream-LibArchive' into update-libarchive
...
# By LibArchive Upstream
* upstream-LibArchive:
LibArchive 2024-10-13 (b439d586)
2024-11-18 14:17:22 -05:00
LibArchive Upstream
ad48f00c30
LibArchive 2024-10-13 (b439d586)
...
Code extracted from:
https://github.com/libarchive/libarchive.git
at commit b439d586f53911c84be5e380445a8a259e19114c (v3.7.7).
2024-11-18 14:17:22 -05:00
Brad King
e048b0cc94
libarchive: Update script to get 3.7.7
2024-11-18 14:15:17 -05:00
Daniel Brondani
688d9ee9c2
ARMClang: Remove orphaned linker --list option
...
Setting the `armlink --list` option without other diagnostic flags is
misleading because it produces an empty file and prevents the user from
printing diagnostics to the standard output or redirecting them to
another file.
It's unclear why the flag was added when support for ARMClang was first
added by commit 7b0abaac31
(ARMClang: Add support for Clang-based ARM
compiler, 2019-05-13, v3.15.0-rc1~111^2).
Fixes : #21538
2024-11-18 13:59:16 -05:00
Brad King
1224fbce3f
Help: Document CLICOLOR and CLICOLOR_FORCE environment variables
...
Issue: #26451
2024-11-18 13:00:22 -05:00
Brad King
ce49c5debb
Merge topic 'FindPython-Tests-limited'
...
1dd5cf1e08
Tests/FindPython: only use limited API
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10002
2024-11-18 11:12:05 -05:00
Kitware Robot
0948a7fa83
CMake Nightly Date Stamp
2024-11-18 00:01:39 -05:00
Kitware Robot
c1fd1aa0f2
CMake Nightly Date Stamp
2024-11-17 00:02:10 -05:00