Brad King
ac54f5d50d
Merge topic 'patch-found-var'
...
1a8e43d57d FindPackageHandleStandardArgs: Clarify the FOUND_VAR option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10134
2025-01-09 10:44:01 -05:00
Kitware Robot
ef6f5774fa
CMake Nightly Date Stamp
2025-01-09 00:05:43 -05:00
Brad King
c75adc398b
Merge topic 'codegen-help'
...
45726d93a8 Makefile: List codegen target in help
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10146
2025-01-08 09:24:01 -05:00
Kitware Robot
b5ba273119
CMake Nightly Date Stamp
2025-01-08 00:07:42 -05:00
Brad King
45726d93a8
Makefile: List codegen target in help
...
This was left out of commit 197cb419d1 (add_custom_command: Add
CODEGEN support, 2024-05-27, v3.31.0-rc1~394^2).
Fixes : #26545
2025-01-07 15:14:53 -05:00
Kitware Robot
f0e3f57896
CMake Nightly Date Stamp
2025-01-07 00:06:41 -05:00
Kitware Robot
90971c9188
CMake Nightly Date Stamp
2025-01-06 00:10:00 -05:00
Kitware Robot
3c4b9cd979
CMake Nightly Date Stamp
2025-01-05 00:10:20 -05:00
Kitware Robot
fdf56b5bb2
CMake Nightly Date Stamp
2025-01-04 00:09:50 -05:00
Kitware Robot
d71717dcdd
CMake Nightly Date Stamp
2025-01-03 00:09:10 -05:00
Kitware Robot
7739b5b492
CMake Nightly Date Stamp
2025-01-02 00:12:41 -05:00
Kitware Robot
42e76dd0ef
CMake Nightly Date Stamp
2025-01-01 00:07:58 -05:00
Kitware Robot
f99a933dfd
CMake Nightly Date Stamp
2024-12-31 00:10:59 -05:00
Peter Kokot
1a8e43d57d
FindPackageHandleStandardArgs: Clarify the FOUND_VAR option
...
The `find_package_handle_standard_args(FOUND_VAR)` is deprecated as of
CMake 3.3 and both the `<PackageName>_FOUND` and the upper-cased
`<PACKAGE_NAME>_FOUND` are set with or without using this option.
Additionally, find modules and docs are also synced with this to make it
clearer.
2024-12-31 02:07:16 +01:00
Kitware Robot
a66fd391c9
CMake Nightly Date Stamp
2024-12-30 00:09:23 -05:00
Kitware Robot
a3ae12ff96
CMake Nightly Date Stamp
2024-12-29 00:09:50 -05:00
Kitware Robot
249811016b
CMake Nightly Date Stamp
2024-12-28 00:08:37 -05:00
Kitware Robot
1c52e53ca4
CMake Nightly Date Stamp
2024-12-27 00:06:09 -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
Kitware Robot
b964dc8181
CMake Nightly Date Stamp
2024-12-22 00:07:49 -05: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
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
41abd532b6
CMake 3.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
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
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
Kitware Robot
3bc9d37163
CMake Nightly Date Stamp
2024-12-18 00:06:59 -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
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
Kitware Robot
e0e486f0a9
CMake Nightly Date Stamp
2024-12-17 00:01:11 -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
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
Matthew Woehlke
65429611b9
find_package: Fix handling of relative paths in CPS
...
Change path handling in cmPackageInfoReader to also handle relative
paths (and to convert paths to UNIX slashes). In order to facilitate
(read: minimize) parameter passing, several formerly free functions have
been made into member functions. Also, remove some unused parameters.
2024-12-13 08:58:24 -05:00
Matthew Woehlke
34828650d6
find_package: Add experimental gate for CPS support
2024-12-13 08:58:24 -05:00
Matthew Woehlke
25cc83428e
find_package: Actually import .cps files
...
Implement logic (partly adapted from the 2023 proof-of-concept) to
actually parse CPS files and generate imported targets. Implement logic
to locate and load supplemental files. Adjust prefix handling to require
that the CPS file provides sufficient information to translate the
prefix placeholder into a meaningful path. (Note that this corresponds
to a change in the specification.)
2024-12-13 08:58:24 -05:00