Commit Graph

68406 Commits

Author SHA1 Message Date
Kitware Robot 1c52e53ca4 CMake Nightly Date Stamp 2024-12-27 00:06:09 -05:00
Marc Chevrier 5da296b805 Merge topic 'Doc-use-lower-case-for-commands'
2116b3460b Help: Use lower-case style in documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10124
2024-12-26 10:30:31 -05:00
Kitware Robot 6d233764ff CMake Nightly Date Stamp 2024-12-26 00:08:50 -05:00
Kitware Robot dbaffb6596 CMake Nightly Date Stamp 2024-12-25 00:07:08 -05:00
Kitware Robot a548d65e39 CMake Nightly Date Stamp 2024-12-24 00:11:36 -05:00
Kitware Robot 5c3ccdabba CMake Nightly Date Stamp 2024-12-23 00:11:14 -05:00
Peter Kokot 2116b3460b Help: Use lower-case style in documentation 2024-12-22 16:56:46 +01:00
Marc Chevrier 4559f5770f Merge branch 'release-3.31' 2024-12-22 07:17:53 -05:00
Marc Chevrier 9df2ccb1e8 Merge topic 'Help-FindPython-Fix-typo'
e7ea2998fb Help: FindPython: fix typo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10121
2024-12-22 07:17:53 -05:00
Marc Chevrier e7153c29ac Merge topic 'Help-FindPython-Fix-typo' into release-3.31
e7ea2998fb Help: FindPython: fix typo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10121
2024-12-22 07:17:52 -05:00
Kitware Robot b964dc8181 CMake Nightly Date Stamp 2024-12-22 00:07:49 -05:00
Marc Chevrier e7ea2998fb Help: FindPython: fix typo 2024-12-21 17:50:25 +01:00
Kitware Robot c94cd43584 CMake Nightly Date Stamp 2024-12-21 00:06:38 -05:00
Brad King 0a05e1d039 Merge topic 'find_package-empty-roots'
adfb0623cb find_package: Fix assertion failure on empty sysroots
1c6cecdce9 cmFindPackageCommand: Fix searching a root path as a prefix

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10113
2024-12-20 09:20:14 -05:00
Brad King b21b24f436 Merge topic 'ci-windows-assertions'
bec34592a6 ci: Enable assertions in CMake build job on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10118
2024-12-20 09:19:29 -05:00
Brad King 79e41d3cc6 Merge topic 'rpath-preserve-setuid-setgid'
0907a322f3 install: Restore SETUID/SETGID after RPATH change

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10053
2024-12-20 09:18:24 -05:00
Kitware Robot 3085e42aaf CMake Nightly Date Stamp 2024-12-20 00:05:17 -05:00
Brad King 29385c20e6 Merge topic 'Help-WHOLE_ARCHIVE-clarification'
7baf4a9aeb Help: LINK_LIBRARY:WHOLE_ARCHIVE clarification

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10115
2024-12-19 13:32:59 -05:00
Brad King bec34592a6 ci: Enable assertions in CMake build job on Windows
Since commit 5b564c371e (gitlab-ci: add Windows infrastructure,
2020-05-20, v3.18.0-rc1~102^2~1) we build with the `Release`
configuration on Windows to avoid the `-Zi` flag.  However, that also
compiles with `-DNDEBUG` by default, thus suppressing assertions.
Since the build is meant for testing, enable assertions again.
2024-12-19 11:38:03 -05:00
Brad King c8c1c9beb8 Merge branch 'release-3.31' 2024-12-19 10:50:21 -05:00
Marc Chevrier 7baf4a9aeb Help: LINK_LIBRARY:WHOLE_ARCHIVE clarification
Fixes: #26540
2024-12-19 16:41:50 +01:00
Brad King 41abd532b6 CMake 3.31.3 v3.31.3 2024-12-19 10:18:19 -05:00
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
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