Brad King
adfb0623cb
find_package: Fix assertion failure on empty sysroots
...
Previously we crashed if at least one root variable was set to empty and
at least one to non-empty.
Fixes : #26538
2024-12-19 09:58:02 -05:00
Brad King
1c6cecdce9
cmFindPackageCommand: Fix searching a root path as a prefix
...
A root path like `/` or `c:/` needs to end in a slash. Revise our
prefix search logic to maintain a trailing slash instead of removing one
just to add it again.
2024-12-19 09:56:24 -05:00
Brad King
1beb742d1b
Merge topic 'update-cps-export-version'
...
a2c7854e18 install: Update CPS export version
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10116
2024-12-19 08:33:44 -05:00
Brad King
4e119c1d7c
Merge topic 'try_run_cache'
...
9be6e42499 Help: Note try_compile/try_run caching
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10108
2024-12-19 08:32:59 -05:00
Brad King
2317fb6518
Merge topic 'ci-linkcheck'
...
21befcd8aa ci: Do not linkcheck web.archive.org URLs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10111
2024-12-19 08:31:16 -05:00
Volodymyr Zolotopupov
0907a322f3
install: Restore SETUID/SETGID after RPATH change
...
Most Unix-like systems drops the SETUID/SETGID bits when a file changes,
so after changing the RPATH, it is necessary to restore
the original file mode.
2024-12-19 08:29:44 -05:00
Kitware Robot
56853fd896
CMake Nightly Date Stamp
2024-12-19 00:08:19 -05:00
Matthew Woehlke
a2c7854e18
install: Update CPS export version
...
Bump the version of CPS we claim to generate from 0.12.0 to 0.13.0,
which is the version we require for import.
The change between 0.12 and 0.13 is the addition of the `prefix`
attribute, and that one of `cps_path` or `prefix` is required. Since our
current implementation always supplies `cps_path`, no other changes are
needed to conform to the new schema version.
2024-12-18 13:19:52 -05:00
Brad King
bacfc7c313
Merge topic 'ci-copyright-year'
...
1f3eb6c4d4 ci: update copyright year as part of CMake Nightly Date Stamp
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10112
2024-12-18 11:51:47 -05:00
Martin Duffy
8a3c195188
Tests/RunCMake: Add RunCMake_CHECK_ONLY Option
...
Allows run_cmake test cases that run a verification script and no other command
2024-12-18 10:52:33 -05:00
scivision
9be6e42499
Help: Note try_compile/try_run caching
2024-12-18 10:04:47 -05:00
Brad King
21befcd8aa
ci: Do not linkcheck web.archive.org URLs
...
Avoid unnecessary use of Internet Archive resources.
Their URLs are meant to be stable.
2024-12-18 09:10:26 -05:00
Brad King
1f3eb6c4d4
ci: update copyright year as part of CMake Nightly Date Stamp
...
Extend commit 0f82d07266 (ci: add job to update CMake Nightly Date
Stamp, 2024-12-17) to update the year range in `Copyright.txt` on
January 1 so we don't have to update it manually once per year.
Our `CMake.Copyright` test verifies that these match.
2024-12-18 09:04:14 -05:00
Brad King
5c7bb0bfd9
Merge topic 'rename-cmakelists'
...
fcbc883fa3 cmake: Allow configuration of default script names
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !10059
2024-12-18 08:49:58 -05:00
Brad King
4d9b204c7e
Merge branch 'release-3.31'
2024-12-18 08:40:23 -05:00
Brad King
306444e67c
Merge topic 'ci-xcode-16.2'
...
86ee7cb4fe ci: update macOS jobs to use Xcode 16.2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10107
2024-12-18 08:40:23 -05:00
Brad King
01bfaf6b92
Merge topic 'ci-xcode-16.2' into release-3.31
...
86ee7cb4fe ci: update macOS jobs to use Xcode 16.2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10107
2024-12-18 08:40:21 -05:00
Kitware Robot
3bc9d37163
CMake Nightly Date Stamp
2024-12-18 00:06:59 -05:00
Brad King
92de3361f6
Merge topic 'ci-nightly-version'
...
0f82d07266 ci: add job to update CMake Nightly Date Stamp
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10110
2024-12-17 14:50:14 -05:00
Brad King
0f82d07266
ci: add job to update CMake Nightly Date Stamp
...
Previously the nightly version update was performed by an
externally-managed scheduled task. Move it to CI.
2024-12-17 14:48:08 -05:00
Martin Duffy
fcbc883fa3
cmake: Allow configuration of default script names
...
Adds the ``--project-file`` command-line option to modify the default script
name loaded by CMake and ``add_subdirectory`` to values other than
``CMakeLists.txt``.
Fixes : #21570
2024-12-17 12:47:02 -05:00
Brad King
86ee7cb4fe
ci: update macOS jobs to use Xcode 16.2
2024-12-17 10:57:22 -05:00
Brad King
abb3d39bbc
Merge branch 'release-3.31'
2024-12-17 10:55:41 -05:00
Brad King
1fb6d668a0
Merge branch 'release-3.30'
2024-12-17 10:55:39 -05:00
Brad King
51457c10b3
Merge branch 'release-3.30' into release-3.31
2024-12-17 10:55:32 -05:00
Brad King
e6ba13c2d8
Merge branch 'release-3.31'
2024-12-17 10:54:55 -05:00
Brad King
e483d7fb57
Merge topic 'ctest-invalid-arg'
...
30dded462a Help: Add 3.30 release note for error on unknown arguments to ctest
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10106
2024-12-17 10:54:55 -05:00
Brad King
f27ba9768b
Merge topic 'ctest-invalid-arg' into release-3.31
...
30dded462a Help: Add 3.30 release note for error on unknown arguments to ctest
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10106
2024-12-17 10:54:53 -05:00
Brad King
2264356ebf
Merge topic 'doc-buildsystem-binary-targets'
...
be0b837e2b Help: Fix cmake-buildsystem(7) internal link
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10105
2024-12-17 10:44:37 -05:00
Brad King
ba86b3d841
Merge topic 'ctest-invalid-arg' into release-3.30
...
30dded462a Help: Add 3.30 release note for error on unknown arguments to ctest
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10106
2024-12-17 10:35:26 -05:00
Brad King
30dded462a
Help: Add 3.30 release note for error on unknown arguments to ctest
...
This was left out of commit 304396d13c (ctest: Show error on invalid
ctest arguments, 2024-04-03, v3.30.0-rc1~286^2).
Fixes : #26539
2024-12-17 10:32:05 -05:00
Brad King
6f3ec4a341
Merge topic 'GenEx-PATH-NATIVE_PATH'
...
427be46424 GenEx $<PATH>: Add NATIVE_PATH sub-command.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !10087
2024-12-17 10:13:16 -05:00
Brad King
135e6feba9
Merge topic 'find-cps'
...
d00201afd6 Tests: Add tests for CPS find_package
65429611b9 find_package: Fix handling of relative paths in CPS
5236984a08 Help: Describe CPS support in find_package
34828650d6 find_package: Add experimental gate for CPS support
25cc83428e find_package: Actually import .cps files
91c31ada23 find_package: Actually find .cps files
b89e43b2bc find_package: Start implementing CPS search
3e9f96079d Add additional string case functions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10018
2024-12-17 10:12:24 -05:00
Brad King
ca30b75b4c
Merge topic 'nvhpc-gcc-toolchain'
...
71e2596a73 NVHPC: Add support for CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !10104
2024-12-17 10:09:56 -05:00
Brad King
be0b837e2b
Help: Fix cmake-buildsystem(7) internal link
...
Fix a broken link from commit 987f3fa4e0 (Help: Add cmake-buildsystem(7)
subsections for each binary target type, 2024-12-12).
2024-12-17 10:08:33 -05:00
Brad King
bedb4990a0
Merge branch 'release-3.31'
2024-12-17 10:07:47 -05:00
Brad King
ef1300749c
Merge topic 'ci-linkcheck'
...
25b25a7724 Help: Update link to UTF-8 RFC 3629
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10103
2024-12-17 10:07:47 -05:00
Brad King
abeabd7c0c
Merge topic 'ci-linkcheck' into release-3.31
...
25b25a7724 Help: Update link to UTF-8 RFC 3629
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10103
2024-12-17 10:07:46 -05:00
Kitware Robot
e0e486f0a9
CMake Nightly Date Stamp
2024-12-17 00:01:11 -05:00
Brad King
71e2596a73
NVHPC: Add support for CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN
...
NVHPC has a `--gcc-toolchain=` flag just like LLVM/Clang and IntelLLVM.
2024-12-16 14:15:56 -05:00
Brad King
25b25a7724
Help: Update link to UTF-8 RFC 3629
...
The old link now returns 404.
2024-12-16 09:20:23 -05:00
Brad King
c60098c763
Merge topic 'icase_linux'
...
1897686702 find_library: Handle case-insensitive filesystems on Linux
01d2a64980 cmSystemTools: Add GetDirCase helper function
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10089
2024-12-16 09:10:55 -05:00
Brad King
546be3530a
Merge topic 'xcode-scheme-lldb-init-file'
...
419cfe30d0 Xcode: Support for 'LLDB Init File' scheme property
65ad1bbd4c vim: Remove duplicated keywords from cmake.vim
a96d6a98d3 Tests/RunCMake/XcodeProject: Improve XcodeSchemaProperty failure messages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10093
2024-12-16 09:08:56 -05:00
Brad King
a72262644e
Merge topic 'doc-LINK_WHAT_YOU_USE'
...
e4cd54dab2 Help: Clarify intended purpose of LINK_WHAT_YOU_USE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10101
2024-12-16 09:06:41 -05:00
Brad King
ed8180f2eb
Merge topic 'debugger-working-directory'
...
7bf07baccf Help: Fix indentation of DEBUGGER_WORKING_DIRECTORY
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10099
2024-12-16 09:06:02 -05:00
Brad King
1e9c34c93e
Merge topic 'doc-buildsystem-binary-targets'
...
987f3fa4e0 Help: Add cmake-buildsystem(7) subsections for each binary target type
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10098
2024-12-16 09:05:09 -05:00
Kitware Robot
121a9982f6
CMake Nightly Date Stamp
2024-12-16 00:04:24 -05:00
Kitware Robot
8c38c48d40
CMake Nightly Date Stamp
2024-12-15 00:01:09 -05:00
Timothy Finnegan
427be46424
GenEx $<PATH>: Add NATIVE_PATH sub-command.
...
Implements the generator expression $<PATH:MATIVE_PATH> which convert
path(s) into a native format with platform-specific slashes (``\`` on
Windows hosts and ``/`` elsewhere).
Fixes : #26515
2024-12-14 11:16:47 +01:00
Kitware Robot
f60fb11e13
CMake Nightly Date Stamp
2024-12-14 00:01:22 -05:00