Commit Graph

15708 Commits

Author SHA1 Message Date
Peter Kokot 13366e3045 FindPkgConfig: Add PkgConfig_VERSION
This deprecates the PKG_CONFIG_VERSION_STRING result variable.

Issue: #27088
2025-08-17 07:31:44 +02:00
Peter Kokot 559500bede FindwxWidgets: Add wxWidgets_VERSION
This deprecates the wxWidgets_VERSION_STRING result variable.

Issue: #27088
2025-08-17 07:17:12 +02:00
Toby Isaac a1fa0a3f23 FindBLAS: Fix search for ACML when not in fallback paths
Avoid indexing an empty list.

Fixes: #27141
2025-08-15 14:00:20 -04:00
Brad King 69949719c8 Merge topic 'patch-FindwxWidgets'
e211e88501 FindwxWidgets: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11055
2025-08-15 09:39:48 -04:00
Brad King 4f33a6b096 Merge topic 'patch-FindKDE4'
de37ba1907 FindKDE4: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11074
2025-08-15 09:32:30 -04:00
Brad King 0aec7864f6 Merge topic 'patch-FindSubversion-version'
051b670e51 FindSubversion: Add Subversion_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11053
2025-08-15 09:30:14 -04:00
Brad King 63d88db7ac Merge topic 'patch-FindLua-version'
138fd2c665 FindLua*: Add Lua_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11052
2025-08-15 09:21:43 -04:00
Brad King ce83cab7fe Merge topic 'clang_cuda_support_cuda_13'
67c102ef64 Clang/CUDA: Support CUDA Toolkit 13 new include layout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11079
2025-08-15 08:27:48 -04:00
Brad King fc41d4e3f6 Merge topic 'clang_cuda_support_cuda_13' into release-4.1
67c102ef64 Clang/CUDA: Support CUDA Toolkit 13 new include layout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11079
2025-08-15 08:27:46 -04:00
Brad King 75679c169d Merge topic 'clang_cuda_support_cuda_13' into release-4.0
67c102ef64 Clang/CUDA: Support CUDA Toolkit 13 new include layout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11079
2025-08-15 08:26:32 -04:00
Peter Kokot 66be29e3e0 FindMPI: Update documentation
- Added intro code block showing how to use this module.
- Added "Components" section.
- Added "Examples" section.
- Restructured and synced module sections and their descriptions with
  other similar find modules.
- Updated deprecated variables section with versions where these
  variables got first deprecated (some of them in 2.8.5).
2025-08-15 06:00:04 +02:00
Peter Kokot e463cf3283 FindHg: Add Hg_VERSION
This deprecates the HG_VERSION_STRING result variable.

Issue: #27088
2025-08-15 05:34:56 +02:00
Robert Maynard 67c102ef64 Clang/CUDA: Support CUDA Toolkit 13 new include layout
This ensures that clang knows about the two includes that are required for CUDA 13.
2025-08-14 09:55:53 -04:00
Brad King d3bd945bea Merge topic 'patch-CMakeVerifyManifest'
a79e520169 CMakeVerifyManifest: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11075
2025-08-14 09:08:09 -04:00
Brad King 5a09f5bd8e Merge topic 'patch-FindDevIL-version'
0e00166462 FindDevIL: Add DevIL_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11072
2025-08-14 09:06:41 -04:00
Brad King fcc70a3ee3 Merge topic 'patch-BundleUtilities-modernization-gp_append_unique'
374eb128c9 GetPrerequisites: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11043
2025-08-14 08:28:50 -04:00
Brad King b30241272b Merge topic 'patch-FindPerl-version'
4f1732d96b FindPerl, FindPerlLibs: Add Perl_VERSION and PerlLibs_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11054
2025-08-14 08:27:25 -04:00
Brad King 6065c2d845 Merge topic 'patch-FindGnuTLS-version'
2f8b837a30 FindGnuTLS: Add GnuTLS_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11061
2025-08-14 08:25:25 -04:00
Brad King d870ed6b76 Merge topic 'patch-FindQt4-found-var'
9fb240da85 FindQt4: Clarify the Qt4_FOUND variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11062
2025-08-14 08:23:20 -04:00
Peter Kokot 138fd2c665 FindLua*: Add Lua_VERSION
New result variables in FindLua:

* Lua_VERSION
* Lua_VERSION_MAJOR
* Lua_VERSION_MINOR
* Lua_VERSION_PATCH

Deprecated variables in FindLua:

* LUA_VERSION_STRING
* LUA_VERSION_MAJOR
* LUA_VERSION_MINOR
* LUA_VERSION_PATCH

Deprecated variables in FindLua51:

* LUA_VERSION_STRING

Issue: #27088
2025-08-14 07:37:26 +02:00
Peter Kokot 051b670e51 FindSubversion: Add Subversion_VERSION
This deprecates the Subversion_VERSION_SVN result variable.

Issue: #27088
2025-08-14 07:25:00 +02:00
Brad King 4a26dbd4ba Merge topic 'patch-FindOpenGL'
e03c1c215b FindOpenGL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11049
2025-08-13 15:54:02 -04:00
Brad King 05d8757533 Merge topic 'patch-FeatureSummary'
361af2b480 FeatureSummary: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11067
2025-08-13 15:47:54 -04:00
Brad King 9896691033 Merge topic 'patch-AddFileDependencies'
d0a8c0bf1b AddFileDependencies, MacroAddFileDependencies: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11064
2025-08-13 15:44:12 -04:00
Brad King 7a47c13d07 Merge topic 'patch-FindPkgConfig'
ac56813d35 FindPkgConfig: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11060
2025-08-13 15:40:42 -04:00
Brad King fdbbf433d3 Merge topic 'patch-CMakeForceCompiler'
195b009796 CMakeForceCompiler: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11059
2025-08-13 15:36:47 -04:00
Brad King cd3ed09923 Merge topic 'patch-TestCXXAcceptsFlag'
b1ec2b36a8 TestCXXAcceptsFlag: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11058
2025-08-13 10:58:26 -04:00
Brad King fabf18fd95 Merge topic 'patch-UsePkgConfig'
c134021257 UsePkgConfig: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11057
2025-08-13 10:54:56 -04:00
Brad King 8e1ba76483 Merge topic 'patch-FindPackageHandleStandardArgs'
ea298035ba FindPackageHandleStandardArgs: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11056
2025-08-13 10:49:40 -04:00
Brad King f8ce2dc388 Merge topic 'FindHDF5-target-docs'
474a265855 FindHDF5: clarify `HDF5::HDF5` library documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11047
2025-08-13 10:45:51 -04:00
Peter Kokot a79e520169 CMakeVerifyManifest: Update documentation
This module could be directly called from the CMake root directory but
it is more convenient for projects to wrap it inside a local script and
call that script instead.

This updates the documentation and syncs with other modules.
2025-08-13 04:41:46 +02:00
Peter Kokot de37ba1907 FindKDE4: Update documentation
- Synced module documentation with other similar find modules.
- Added note that KDE version 4 is obsolete and newer KDE version should
  be used.
- Added documentation from the Wiki page:
  https://gitlab.kitware.com/cmake/community/-/wikis/doc/tutorials/How-To-Build-KDE4-Software
- Added some info according to the
  https://api.kde.org/legacy/cmake/modules.Custom_CMake_Modules.html
2025-08-13 04:19:03 +02:00
Peter Kokot e211e88501 FindwxWidgets: Update documentation
- Module documentation synced with other similar find modules.
- Added intro code block showing how to use this module.
- Added common sections to describe variables, imported targets moved to
  the top.
- Added examples section and highlighting the imported target usage.
2025-08-13 03:52:09 +02:00
Brad King 9e08117969 Merge topic 'patch-Use_wxWindows'
14334d7604 Use_wxWindows: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11051
2025-08-12 10:18:08 -04:00
Peter Kokot 0e00166462 FindDevIL: Add DevIL_VERSION
This module now provides a DevIL_VERSION result variable and supports
the `<version>` argument in the find_package() call. Version range can
be also specified.

Fixes: #26858
2025-08-12 07:17:58 +02:00
Peter Kokot 361af2b480 FeatureSummary: Update documentation
- Refactored and synced module documentation.
- Moved all documentation to the top header comment to make it easier to
  manage and adjust.
- Added table of contents.
- Added intro code block showing how to use this module.
- Described arguments of commands as a list.
- Used word "commands" instead of "functions".
- Added separate examples section with more examples.
2025-08-11 10:32:40 +02:00
Peter Kokot d0a8c0bf1b AddFileDependencies, MacroAddFileDependencies: Update documentation
- Extended the deprecation notice.
- Synced modules descriptions with other similar modules.
- Added info about the MacroAddFileDependencies deprecation in the
  3.14 release notes.
2025-08-11 02:51:20 +02:00
Peter Kokot 9fb240da85 FindQt4: Clarify the Qt4_FOUND variable
QT4_FOUND variable became deprecated in CMake 2.8.11 where Qt4_FOUND was
introduced.
2025-08-10 10:03:50 +02:00
Peter Kokot 2f8b837a30 FindGnuTLS: Add GnuTLS_VERSION
This deprecates the GNUTLS_VERSION result variable.

Instead of setting the version from pkg-config, the header files can be
used. GnuTLS versions 2.7.2 and later define the GNUTLS_VERSION in
`<gnutls/gnutls.h>` header. Earlier versions defined LIBGNUTLS_VERSION.
If finding such string in header is not successful, fallback to version
from pkg-config is used.

Issue: #27088
2025-08-10 09:39:44 +02:00
Peter Kokot ac56813d35 FindPkgConfig: Update documentation
- Synced module documentation with other find modules.
- Added intro code block showing how to use this module.
- Added separate examples section with more examples.
- Moved all documentation to the top header comment to make it easier
  to manage and adjust.
- Documented commands arguments as a list.
- Removed internal comment defining "Local variables" for some editors
  (other files don't have these defined).
- Changed variable references definitions to a normal list, as these
  don't seem to be needed to be referenced in other documentation files
  and to be more synced with other find modules. In case some special
  environment variable, should be referenced, it can be added in the
  future to the variables section directly and to be foundable on the
  variables index list.
- Briefly described also PKG_CONFIG_PATH and PKG_CONFIG environment
  variables, as they are already mentioned in the descriptions.
- Added "See Also" section.
2025-08-10 07:57:11 +02:00
Peter Kokot 195b009796 CMakeForceCompiler: Update documentation
- Added intro code block showing how to use this module.
- Added separate examples section.
- Renamed "macros" to "commands".
- Synced commands descriptions to other modules.
- Used lowercase style for command names.
2025-08-10 06:26:28 +02:00
Peter Kokot b1ec2b36a8 TestCXXAcceptsFlag: Sync documentation
- Added intro code block showing how to use this module.
- Renamed "macros" to "commands".
2025-08-09 03:20:20 +02:00
Peter Kokot c134021257 UsePkgConfig: Sync documentation
- Added intro code block showing how to include this module.
- Renamed "macros" to "commands".
2025-08-09 03:10:22 +02:00
Peter Kokot ea298035ba FindPackageHandleStandardArgs: Update documentation
- Used "commands" instead of "functions".
- Added separate examples section.
- Moved FOUND_VAR argument to the bottom as it is deprecated.
- Reworded descriptions.
2025-08-08 23:49:59 +02:00
Peter Kokot 4f1732d96b FindPerl, FindPerlLibs: Add Perl_VERSION and PerlLibs_VERSION
This deprecates the PERL_VERSION_STRING result variable.

Issue: #27088
2025-08-08 22:22:03 +02:00
Peter Kokot e03c1c215b FindOpenGL: Update documentation
- Added intro code block showing how to use this module.
- Added examples section.
- Moved CMake versions that introduced specific target or variable
  to the item instead of above the list, as there are multiple versions
  and to have option to extend the items further in the future.
- Synced the module descriptions a bit with the other find modules.
- OpenGL_FOUND variable used (CMake 3.3). Uppercased OPENGL_FOUND is
  also set to the same value by the find_package_handle_standard_args().
2025-08-08 21:04:53 +02:00
Ben Boeckel 474a265855 FindHDF5: clarify HDF5::HDF5 library documentation
Fixes: #24206
2025-08-08 09:50:46 -04:00
Brad King ead2855f2c Merge topic 'patch-FindThreads'
30d994c021 FindThreads: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11044
2025-08-08 09:35:12 -04:00
Brad King 4978bb39ca Merge topic 'patch-FindSWIG'
ffd3c9cbe5 FindSWIG: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11042
2025-08-08 09:32:13 -04:00
Brad King 8ae56a88bf Merge topic 'patch-FindSquish-version'
ca52983884 FindSquish: Add Squish_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11041
2025-08-08 09:26:22 -04:00