Commit Graph

15481 Commits

Author SHA1 Message Date
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
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
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
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
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
Peter Kokot
14334d7604 Use_wxWindows: Update documentation
Refactored examples to highlight the code upgrade towards the
FindwxWidgets module.
2025-08-08 04:11:36 +02:00
Peter Kokot
374eb128c9 GetPrerequisites: Sync documentation
* GetPrerequisites:
  - Added intro code block showing how to include this module.
  - Renamed "functions" to "commands".
  - Moved command descriptions above their signatures.
  - Added initial example of migrating the `gp_append_unique()` command.

* BundleUtilities:
  - Replaced obsolete gp_append_unique(): Instead of using the
    deprecated `gp_append_unique()`, these usages can be replaced with
    `if()` and `list(APPEND)` commands directly.
2025-08-07 21:42:38 +02: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