scivision
9be6e42499
Help: Note try_compile/try_run caching
2024-12-18 10:04:47 -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
Brad King
e4cd54dab2
Help: Clarify intended purpose of LINK_WHAT_YOU_USE
...
Avoid implying that it can be used to intentionally link to
shared libraries whose symbols are not needed.
Issue: #26529
2024-12-13 10:53:54 -05:00
Garrett Campbell
7bf07baccf
Help: Fix indentation of DEBUGGER_WORKING_DIRECTORY
...
In commit 9ed178f9d8
(Add generator-agnostic DEBUGGER_WORKING_DIRECTORY
target property, 2024-12-05) the documentation was incorrectly indented.
Issue: #16478
2024-12-13 10:10:13 -05:00
Brad King
987f3fa4e0
Help: Add cmake-buildsystem(7) subsections for each binary target type
...
Re-organize the "Binary Targets" section of the manual to have a
dedicated subsection for each kind of binary target. Initialize each
subsection by documenting the object file and link semantics of the
corresponding target type.
2024-12-13 09:53:26 -05:00
Brad King
db5829fc14
Merge topic 'update-curl'
...
52114de052
curl: Set build options the way we need for CMake
54ddc7023c
Merge branch 'upstream-curl' into update-curl
4cebf01c70
curl 2024-12-11 (75a2079d)
799cd70398
curl: Update script to get curl 8.11.1
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10095
2024-12-13 09:01:57 -05:00
Brad King
265bc4e946
Merge topic 'hurd-linker'
...
c4f64cee36
CMakeParseImplicitLinkInfo: Do not mistake ld.so for a linker
a47283801e
hurd: Add GNU linker options
4d1066c578
hurd: Add more GNU options support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10092
2024-12-13 09:00:27 -05:00
Matthew Woehlke
d00201afd6
Tests: Add tests for CPS find_package
...
Add several tests for the new CPS support in find_package. While not
exhaustive, there is some coverage for both search and import functions.
2024-12-13 08:58:25 -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
5236984a08
Help: Describe CPS support in find_package
...
Update find_package documentation to describe (the current state of)
support for Common Package Specification packages. Make some general
improvements to the same while we're at it. Add documentation blurb for
the experimental flag that enables CPS support.
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
Matthew Woehlke
91c31ada23
find_package: Actually find .cps files
...
Add a helper class to read CPS files. Use this to teach find_package how
to consider and accept .cps files in its search. (Note that no version
testing is performed at this time.) Add a simple test that we can find a
package from a .cps file and correctly extract the version information.
Note that this doesn't actually import anything from CPS yet.
2024-12-13 08:58:24 -05:00
Matthew Woehlke
b89e43b2bc
find_package: Start implementing CPS search
...
Teach find_package to search CPS search paths, and to look for CPS file
names. Modify the set of file names to also include the file type (CPS
or CMake-script). Modify the search function to allow specifying which
file type(s) to consider.
During full path search, each possible path is searched for only one of
the two possible file types. However, subsequent runs, or when
considering a user-specified path (<name>_DIR), CMake will look for both
file types.
Note that this only adds the new path search logic as described above;
CMake does not yet know how to read CPS files, and there is a high
likelihood that Bad Things will happen if it tries. However, this seemed
like a good place to checkpoint.
2024-12-13 08:58:24 -05:00
Matthew Woehlke
3e9f96079d
Add additional string case functions
...
Add function to perform case-insensitive comparison of two string-view
instancess. Add functions to perform case conversion on string_view.
2024-12-13 08:58:23 -05:00
Brad King
fe7b414916
Merge topic 'normalize-input-paths'
...
592e95bbea
cmFindPackageCommand: Avoid temporarily saving non-existent result
8d6b76771d
find_package: Explicitly normalize CONFIG file path as it exists on disk
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10096
2024-12-13 08:57:19 -05:00
Brad King
d82de042c7
Merge topic 'update-kwsys'
...
6309e298bc
Merge branch 'upstream-KWSys' into update-kwsys
8884161843
KWSys 2024-12-12 (60c63c1f)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10097
2024-12-13 08:56:30 -05:00
Brad King
c060f44657
Merge topic 'jsoncpp-version-header'
...
0330513c24
jsoncpp: Add cm3p/ header for json/version.h
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10094
2024-12-13 08:55:40 -05:00
Brad King
ab92f477b1
Merge topic 'FindPython-enhance-virtualenv-lookup'
...
11aff3c490
FindPython: enhance Development artifacts lookup in virtual environment
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10091
2024-12-13 08:54:24 -05:00
Cristiano Carvalheiro
419cfe30d0
Xcode: Support for 'LLDB Init File' scheme property
...
Fixes : #24002
2024-12-13 08:31:11 -05:00
Cristiano Carvalheiro
65ad1bbd4c
vim: Remove duplicated keywords from cmake.vim
2024-12-13 08:31:11 -05:00
Brad King
a96d6a98d3
Tests/RunCMake/XcodeProject: Improve XcodeSchemaProperty failure messages
2024-12-13 08:30:56 -05:00
Kitware Robot
d30bbe5c3f
CMake Nightly Date Stamp
2024-12-13 00:01:12 -05:00