Commit Graph

15449 Commits

Author SHA1 Message Date
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
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
Brad King c00d931e13 Merge topic 'patch-FindOpenSceneGraph-version'
30dddb4b11 FindOpenSceneGraph: Add OpenSceneGraph_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11040
2025-08-08 09:22:28 -04:00
Brad King 12c1463e81 Merge topic 'patch-FindGnuplot-version'
4786a6f34a FindGnuplot: Add Gnuplot_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11039
2025-08-08 09:18:34 -04:00
Brad King c037d3038b Merge topic 'patch-22360-position-independent-code'
6168592f0e Help: Improve position independent code docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11035
2025-08-08 08:20:47 -04:00
Brad King e9545524f3 Merge topic 'sunway-sw_64'
cfbf0480ff Sunway: Add sw_64 support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11023
2025-08-08 08:02:55 -04:00
Brad King 9eb1c56a84 Merge topic 'ewilde/externalproject-empty-command-envvar'
bd1643b9ab ExternalProject: Fix env mods with empty command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Andarwinux <edxposed@protonmail.com>
Merge-request: !11036
2025-08-07 10:04:22 -04:00
Verney7 cfbf0480ff Sunway: Add sw_64 support
``sw_64`` is a new RISC ISA, which is a bit like RISC-V.
2025-08-07 09:42:11 -04:00
Brad King 1d8a8e6662 Merge topic 'patch-graphviz'
f4d666549a Help: Move Graphviz documentation to --graphviz option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11008
2025-08-07 09:14:52 -04:00
Peter Kokot 30d994c021 FindThreads: Update documentation
- Synced module documentation with other similar find modules.
- Added intro code block showing how to use this module.
- Used Threads_FOUND variable in module code.  The uppercase
  THREADS_FOUND is also set to the same value by
  find_package_handle_standard_args().
- Added examples section.
- Added extended explanation of multithreading support and how this
  compares to the threading specified by C/C++ standards.
2025-08-07 03:25:02 +02:00
Peter Kokot ffd3c9cbe5 FindSWIG: Update documentation
- Added intro code block showing how to use this module.
- Added separate examples section.
- Updated and synced module documentation with other similar find
  modules.
2025-08-07 01:21:25 +02:00
Peter Kokot ca52983884 FindSquish: Add Squish_VERSION
This deprecates the following result variables:

* SQUISH_VERSION
* SQUISH_VERSION_MAJOR
* SQUISH_VERSION_MINOR
* SQUISH_VERSION_PATCH

Issue: #27088
2025-08-06 23:53:37 +02:00
Peter Kokot 30dddb4b11 FindOpenSceneGraph: Add OpenSceneGraph_VERSION
This deprecates the OPENSCENEGRAPH_VERSION result variable.

Issue: #27088
2025-08-06 23:52:10 +02:00
Peter Kokot 4786a6f34a FindGnuplot: Add Gnuplot_VERSION
This deprecates the GNUPLOT_VERSION_STRING result variable.

Issue: #27088
2025-08-06 23:51:23 +02:00
Brad King ab7abb74cd Merge topic 'patch-FortranCInterface'
786a75ab8a FortranCInterface: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11032
2025-08-06 10:05:07 -04:00
Brad King e74a213360 Merge topic 'patch-FindGSL'
20b1a6c1e5 FindGSL: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11028
2025-08-06 09:57:59 -04:00
Brad King 2e1a7820cf Merge topic 'patch-FindRuby'
8510666702 FindRuby: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11034
2025-08-06 09:56:28 -04:00
Brad King bf1204f7dd Merge topic 'patch-FindGDAL'
54a9a53f78 FindGDAL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11029
2025-08-06 09:55:16 -04:00
Brad King e1bfaa0907 Merge topic 'patch-FindBLAS'
1c0f1e8b30 FindBLAS: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11030
2025-08-06 09:53:57 -04:00
Brad King 240279e767 Merge topic 'patch-FindLAPACK'
867da42938 FindLAPACK: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11031
2025-08-06 09:50:53 -04:00
Brad King 0e48bf825d Merge topic 'patch-FindTIFF-version'
8076414d2d FindTIFF: Add TIFF_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11021
2025-08-06 09:48:09 -04:00
Brad King ddb014d0aa Merge topic 'patch-FindOpenSSL-version'
5503235b4d FindOpenSSL: Add OpenSSL_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11020
2025-08-06 09:45:48 -04:00
Brad King 142ae708fb Merge topic 'patch-FindGettext-version'
6903ba415f FindGettext: Add Gettext_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11019
2025-08-06 09:43:36 -04:00
Brad King 8d79307408 Merge topic 'patch-FindDoxygen-version'
15ffe27752 FindDoxygen: Add Doxygen_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11018
2025-08-06 09:37:50 -04:00
Brad King 9b1da716c9 Merge topic 'patch-find-modules'
1526655507 Find*: Add intro code blocks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11022
2025-08-06 09:30:25 -04:00
Brad King aabba5e82c Merge topic 'patch-FindArmadillo-version'
d4c3a6595c FindArmadillo: Add Armadillo_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11017
2025-08-06 09:28:06 -04:00
Evan Wilde bd1643b9ab ExternalProject: Fix env mods with empty command
Fixes a bug when working with external projects with empty commands and
environment modifications. This change ensures that we are only applying
environment modifications when there is a command to apply the
modification to.

Fixes: #27113
2025-08-05 21:27:36 -07:00
Peter Kokot 6168592f0e Help: Improve position independent code docs
This adds few adjustments for position independent code descriptions.

* CheckPIESupported:

  The output of check_pie_supported() is already logged in details by
  the try_compile event. To make the example a bit nicer to use in
  projects the message(VERBOSE) is used instead of the WARNING. In case
  of MSVC, there isn't anything to warn about as it isn't supported by
  default.

  Added intro code block showing how to include this module.

  Synced descriptions.

Fixes: #22360
2025-08-06 02:27:55 +02:00
Peter Kokot 8510666702 FindRuby: Sync documentation
- Added intro code block showing how to use this module.
- Resorted result variables.
- Synced descriptions.
- Added separate examples section.
2025-08-06 00:37:13 +02:00
Peter Kokot 786a75ab8a FortranCInterface: Update documentation
- Added intro code block showing how to include this module.
- Used "commands" instead of "functions".
- Reworded descriptions.
- Added dedicated examples section.
2025-08-05 23:42:07 +02:00
Peter Kokot f4d666549a Help: Move Graphviz documentation to --graphviz option
CMakeGraphVizOptions is not a module to be included in a project, so
to make the Graphviz functionality clearer, this moves all its
documentation under the --graphviz option.

Fixes: #27110
2025-08-05 23:30:16 +02:00
Peter Kokot 867da42938 FindLAPACK: Sync documentation
- Added intro code block showing how to use this module.
- Reworded variable descriptions.
- Moved imported targets section to top.
- Added examples section.
2025-08-05 23:04:49 +02:00
Peter Kokot 1c0f1e8b30 FindBLAS: Update documentation
- Added intro code block showing how to use this module.
- Synced descriptions.
- Added examples section.
2025-08-05 23:04:22 +02:00
Peter Kokot 54a9a53f78 FindGDAL: Update documentation
- Added intro code block showing how to use this module.
- Added examples section.
- Synced documentation with other similar find modules.
2025-08-05 22:57:05 +02:00
Peter Kokot 20b1a6c1e5 FindGSL: Sync documentation
- Added intro code block showing how to use this module.
- Synced documentation with other similar find modules.
- Resorted variables.
- Removed redundant internal comment (these comments were in the past
  also removed in other modules).
2025-08-05 22:33:24 +02:00
Brad King 72ee13035d Merge topic 'cuda_13_support'
3ff777de12 CUDA: Update CUDA tests to handle CUDA 13 deprecations
bbf732525a CUDA: Add CUDA 13.0 support to 'all' and 'all-major' architecture tables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11015
2025-08-05 09:58:01 -04:00
Brad King 91a94392b5 Merge topic 'cuda_ensure_arch_order'
8beb309b79 CUDA: Make sure CUDA architectures are in order

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11014
2025-08-05 09:55:48 -04:00
Brad King 2013b79a87 Merge topic 'qcc-8-cxx-lang-flag'
ea3280f15b Merge branch 'qcc-8-cxx-lang-flag-3.31' into qcc-8-cxx-lang-flag
166061629a QCC-CXX: use `-x c++` on 8+
dc7adb64f3 QCC-CXX: use `-x c++` on 8+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10992
2025-08-05 09:53:52 -04:00
Peter Kokot 8076414d2d FindTIFF: Add TIFF_VERSION
This deprecates the TIFF_VERSION_STRING result variable.

Issue: #27088
2025-08-05 06:25:34 +02:00
Peter Kokot 1526655507 Find*: Add intro code blocks
- Added intro code blocks showing how to use find modules.
- Synced modules documentation.
- Extended few examples to make the intro code blocks fit into the
  modules descriptions.
- Synced some RST formatting, variables descriptions and positions.
- Removed few redundant internal comments.

Issue: #26555
2025-08-04 21:26:12 +02:00
Peter Kokot 5503235b4d FindOpenSSL: Add OpenSSL_VERSION
This deprecates the OPENSSL_VERSION result variable.

Issue: #27088
2025-08-04 20:58:49 +02:00
Peter Kokot 6903ba415f FindGettext: Add Gettext_VERSION
This deprecates the GETTEXT_VERSION_STRING result variable.

Issue: #27088
2025-08-04 20:56:07 +02:00
Peter Kokot 15ffe27752 FindDoxygen: Add Doxygen_VERSION
This deprecates the DOXYGEN_VERSION result variable.

Issue: #27088
2025-08-04 20:54:32 +02:00
Peter Kokot d4c3a6595c FindArmadillo: Add Armadillo_VERSION
This deprecates the following result variables:
* ARMADILLO_VERSION_STRING
* ARMADILLO_VERSION_MAJOR
* ARMADILLO_VERSION_MINOR
* ARMADILLO_VERSION_PATCH
* ARMADILLO_VERSION_NAME (added the Armadillo_VERSION_NAME as an
  alternative).

When Armadillo is found in config mode, the `Armadillo_VERSION` is
already set automatically:

    find_package(Armadillo CONFIG)

Issue: #27088
2025-08-04 20:50:01 +02:00
Robert Maynard bbf732525a CUDA: Add CUDA 13.0 support to 'all' and 'all-major' architecture tables 2025-08-04 11:22:12 -04:00
Robert Maynard 8beb309b79 CUDA: Make sure CUDA architectures are in order
Make sure we always group major versions together instead
of interleaving 100 and 120 families.
2025-08-04 11:06:45 -04:00
Brad King 185a4e6c5d Merge topic 'patch-modules-index'
54486682a7 Help: Reposition internal modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11007
2025-08-04 10:41:03 -04:00
Brad King 85114ada92 Merge topic 'patch-FindAVIFile'
d938e10e6e FindAVIFile: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11012
2025-08-04 10:39:35 -04:00