Commit Graph

64853 Commits

Author SHA1 Message Date
Brad King ce3fca2e65 Merge topic 'fphsa-version-message'
2fc22a3dec FPHSA: Fix empty version message in exact match

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9227
2024-02-08 09:46:21 -05:00
Brad King 3798e84530 Merge branch 'release-3.29' 2024-02-08 09:45:03 -05:00
Brad King 837da1e482 Merge topic 'FindVulkan-glslang-14'
49ebf18dd0 FindVulkan: Update detection for glslang 14.0.0
9cefa2f08d Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations
b832767940 Tests/FindVulkan: Update for glslang 12.3+ output

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9225
2024-02-08 09:45:03 -05:00
Brad King 504d33b603 Merge topic 'FindVulkan-glslang-14' into release-3.29
49ebf18dd0 FindVulkan: Update detection for glslang 14.0.0
9cefa2f08d Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations
b832767940 Tests/FindVulkan: Update for glslang 12.3+ output

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9225
2024-02-08 09:45:02 -05:00
Brad King 9500e5bcb8 Merge branch 'release-3.29' 2024-02-08 09:43:00 -05:00
Brad King b4b734bec4 Merge branch 'release-3.28' 2024-02-08 09:42:58 -05:00
Brad King d97cded93e Merge branch 'release-3.28' into release-3.29 2024-02-08 09:42:49 -05:00
Brad King 10fafc784c Merge branch 'release-3.29' 2024-02-08 09:42:13 -05:00
Brad King 761254eca1 Merge topic 'findmatlab-registry-lookup-without-versionxml'
e22c4dfea0 FindMatlab: Revert undocumented and now-unnecessary full version lookup

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9226
2024-02-08 09:42:13 -05:00
Brad King aba76cdaed Merge topic 'findmatlab-registry-lookup-without-versionxml' into release-3.29
e22c4dfea0 FindMatlab: Revert undocumented and now-unnecessary full version lookup

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9226
2024-02-08 09:42:12 -05:00
Brad King a441987e7c Merge branch 'release-3.29' 2024-02-08 09:40:54 -05:00
Brad King 35fa80a498 Merge topic 'clang-cl-showIncludes'
0d933fc0d9 Ninja: Update showIncludes prefix detection for clang-cl 18
a88acb0a41 Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9229
2024-02-08 09:40:54 -05:00
Brad King f610541523 Merge topic 'clang-cl-showIncludes' into release-3.29
0d933fc0d9 Ninja: Update showIncludes prefix detection for clang-cl 18
a88acb0a41 Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9229
2024-02-08 09:40:52 -05:00
Brad King f4b5152f47 Merge topic 'findmatlab-registry-lookup-without-versionxml' into release-3.28
e22c4dfea0 FindMatlab: Revert undocumented and now-unnecessary full version lookup

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9226
2024-02-08 09:40:05 -05:00
Kitware Robot 21fde919c1 CMake Nightly Date Stamp 2024-02-08 00:01:09 -05:00
Hermann von Kleist e22c4dfea0 FindMatlab: Revert undocumented and now-unnecessary full version lookup
Partially revert commit dc9d9589e4 (FindMatlab:WIN32: return full Matlab
version when found via registry, 2023-09-14, v3.28.0-rc1~82^2~2).  It
changed `matlab_extract_all_installed_versions_from_registry` behavior
to query `VersionInfo.xml` for version information.  However, the
function documentation states that it only uses the registry.  It's also
not needed since commit c608adc236 (FindMatlab: Fix major.minor version
lookups in Windows Registry, 2024-01-11, v3.28.2~13^2~1), which added
the same lookup to `matlab_get_all_valid_matlab_roots_from_registry`.
2024-02-07 12:12:12 -05:00
Niklas Weissner 2fc22a3dec FPHSA: Fix empty version message in exact match
`find_package_check_version()` would use variable `_FOUND_VERSION` set
by `find_package_handle_standard_args()` in a single branch when doing
exact matching, causing empty version messages if it was instead called
directly.

This was missed in commit 6bfc442fde (FPHSA: add support of version
range, 2020-09-22, v3.19.0-rc1~122^2~1) when the version check was moved
into its own function.
2024-02-07 10:43:44 -05:00
Brad King a98f3631c9 Merge topic 'clang-cl-showIncludes' into release-3.28
0d933fc0d9 Ninja: Update showIncludes prefix detection for clang-cl 18
a88acb0a41 Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9229
2024-02-07 10:35:32 -05:00
Juan Ramos 49ebf18dd0 FindVulkan: Update detection for glslang 14.0.0
Allow `oglcompiler`, `osdependent`, `machineindependent`, and
`genericcodegen` to be optional static library components.

Fixes: #25583
2024-02-07 10:04:48 -05:00
Juan Ramos 9cefa2f08d Tests/FindVulkan: Allow easy way to switch between VulkanSDK installations
Running with `--fresh` resets the cache each time. Which is valuable
for switching between SDK installations.
2024-02-07 10:04:16 -05:00
Juan Ramos b832767940 Tests/FindVulkan: Update for glslang 12.3+ output
Since 12.3.0 glslangValidator has been renamed to glslang.

This fix maintains backcompat with older SDKs
2024-02-07 10:04:04 -05:00
Martin Storsjö 0d933fc0d9 Ninja: Update showIncludes prefix detection for clang-cl 18
Since commit LLVM/Clang commit `5523fefb01c2` ([clang][lex] Use
preferred path separator in includer-relative lookup, 2023-09-08), part
of the upcoming 18.x release, the output format of the showIncludes flag
has changed, where it now prints paths with double backslashes:

    Note: including file: .\\foo.h

Previously, we expected to see the path name in the form "./foo.h".

Extend the regex to match a path name starting with `.\`, in addition to
the existing matched patterns.
2024-02-07 09:38:14 -05:00
Brad King a88acb0a41 Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17
Make room for a new case for clang-cl 18.
2024-02-07 09:31:42 -05:00
Brad King b8ed46eade Merge topic 'post-rel-dev'
ba6f3f25ee Configure CMake itself with policies through CMake 3.28
c432365e10 export: Increase maximum policy version in exported files to 3.28
9c5e981e60 Add deprecation warnings for policies CMP0128 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9224
2024-02-07 09:22:32 -05:00
Brad King 521e346651 Merge branch 'release-3.29' 2024-02-07 09:21:23 -05:00
Brad King 7839de1a86 Merge topic 'binutils-objcopy'
053c2b3646 BinUtils: Avoid llvm-objcopy versions older than Clang 9

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9219
2024-02-07 09:21:23 -05:00
Brad King 6efc497ab4 Merge topic 'binutils-objcopy' into release-3.29
053c2b3646 BinUtils: Avoid llvm-objcopy versions older than Clang 9

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9219
2024-02-07 09:21:22 -05:00
Kitware Robot e1a3752c5e CMake Nightly Date Stamp 2024-02-07 00:01:12 -05:00
Brad King ba6f3f25ee Configure CMake itself with policies through CMake 3.28 2024-02-06 17:07:16 -05:00
Brad King c432365e10 export: Increase maximum policy version in exported files to 3.28
The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 3.28, so enable them in sufficiently new CMake versions.
2024-02-06 17:07:16 -05:00
Brad King 9c5e981e60 Add deprecation warnings for policies CMP0128 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.22 and below to encourage projects to port
away from setting policies to OLD.
2024-02-06 17:07:09 -05:00
Brad King b18165c2c6 Begin post-3.29 development 2024-02-06 14:58:46 -05:00
Brad King bc4299b081 Merge branch 'release-3.29' 2024-02-06 14:57:42 -05:00
Brad King 78c5c81d35 Begin 3.29 release versioning 2024-02-06 14:49:38 -05:00
Brad King 1d1638c99d Help: Drop development topic notes to prepare release
Release versions do not have the development topic section of
the CMake Release Notes index page.
2024-02-06 14:48:37 -05:00
Brad King 86136a88ed Merge topic 'doc-3.29-relnotes'
ab29be4ce1 Help: Organize and revise 3.29 release notes
ca7ef81c39 Help: Consolidate 3.29 release notes
2ce6337503 Help: Reword if(EXISTS) suggestion to prefer if(IS_READABLE)
23d7863375 Help: Fix cmake_language(EXIT) signature anchor

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9218
2024-02-06 14:47:17 -05:00
Brad King ab29be4ce1 Help: Organize and revise 3.29 release notes
Add section headers similar to the 3.28 release notes and move each
individual bullet into an appropriate section.  Revise a few bullets.
2024-02-06 09:29:12 -05:00
Brad King ca7ef81c39 Help: Consolidate 3.29 release notes
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.29.rst`.
2024-02-06 09:29:11 -05:00
Brad King 2ce6337503 Help: Reword if(EXISTS) suggestion to prefer if(IS_READABLE) 2024-02-06 09:29:11 -05:00
Brad King 23d7863375 Help: Fix cmake_language(EXIT) signature anchor 2024-02-06 09:23:42 -05:00
Arkadiusz Skalski 053c2b3646 BinUtils: Avoid llvm-objcopy versions older than Clang 9
Prior to version 9.0, llvm-objcopy is missing the `--only-keep-debug`
option, which makes it incompatible with the GNU objcopy.
2024-02-06 09:06:37 -05:00
Brad King 278ee265a1 Merge topic 'findopengl-glu-include-dir'
aebebf72df FindOpenGL: Add support for a separate GLU include directory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !9216
2024-02-06 08:53:20 -05:00
Brad King b4497b9be6 Merge topic 'test-RunCMake-license'
64e5105312 Tests/RunCMake: Add copyright and license notices to test infrastructure

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: alcroito <alexandru.croitor@qt.io>
Merge-request: !9217
2024-02-06 08:52:15 -05:00
Kitware Robot 908b4ba54d CMake Nightly Date Stamp 2024-02-06 00:01:11 -05:00
Jordan Williams aebebf72df FindOpenGL: Add support for a separate GLU include directory
Add a OPENGL_GLU_INCLUDE_DIR cache variable for `GL/glu.h` and attach it
as an include directory to the `OpenGL::GLU` target.  Also add a
`OPENGL_INCLUDE_DIRS` result variable to list all include directories.
Account for the GLU header when deciding whether GLU is found.

Fixes: #25627
2024-02-05 14:06:06 -05:00
Brad King 64e5105312 Tests/RunCMake: Add copyright and license notices to test infrastructure 2024-02-05 12:39:56 -05:00
Brad King 28fc87e120 Merge topic 'doc-system-names'
ef2547bd6a Help: Document CMAKE_SYSTEM_NAME possible values

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9211
2024-02-05 11:21:03 -05:00
Brad King 0d451ea92b Merge branch 'release-3.28' 2024-02-05 11:05:51 -05:00
Brad King 5e984bb352 CMake 3.28.3 v3.28.3 2024-02-05 10:28:25 -05:00
Peter Kokot ef2547bd6a Help: Document CMAKE_SYSTEM_NAME possible values
Fixes: #21489
2024-02-05 10:15:08 -05:00