Commit Graph

8644 Commits

Author SHA1 Message Date
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
86d587db41 Merge topic 'doc-cxx_standard'
050ddb800f Help: CXX_STANDARD 26 is supported on some compilers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11063
2025-08-13 16:06:01 -04:00
Brad King
2193c1e08e Merge topic 'patch-CMAKE_LANG_USING_LINKER_MODE'
8aacf67b54 CMAKE_LANG_USING_LINKER_MODE: Fix typo and update docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11065
2025-08-13 15:56:32 -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
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
8aacf67b54 CMAKE_LANG_USING_LINKER_MODE: Fix typo and update docs
- s/FLAGS/FLAG
- Moved deprecation notice to top.
- Added "See Also" section to the CMAKE_LANG_LINK_MODE variable.
2025-08-11 03:48:26 +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
Michael Hirsch
050ddb800f Help: CXX_STANDARD 26 is supported on some compilers
e.g.  80d4bd5 added CXX_STANDARD 26 to IntelLLVM
2025-08-10 12:41:24 -04: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
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
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
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
6cd60195f3 Merge topic 'instrumentation-build-lock'
a249e820a8 instrumentation: Add file lock for build daemon
9b65be6da5 instrumentation: Don't load query files before configure

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11025
2025-08-07 09:19:44 -04:00
Brad King
90a0284c02 Merge topic 'instrumentation-version-doc'
7435cabef3 Help: Add clarifying text to instrumentation API and Data versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11037
2025-08-07 09:18:14 -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
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
Martin Duffy
a249e820a8 instrumentation: Add file lock for build daemon
Prevent starting instrumentation build daemon and related hooks if one is
already running, and when during `cmake --build`.
2025-08-06 11:45:40 -04:00
Brad King
2e3dde3727 Merge topic 'Set-CACHE-variable'
8af64914d6 set/unset commands: add CACHE{variable} syntax support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11016
2025-08-06 10:08:56 -04:00
Brad King
d64a8b1886 Merge topic 'patch-CMAKE_SYSTEM_NAME'
a5d67cf610 CMAKE_SYSTEM_NAME: Add initial list of removed platforms

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vito Gamberini <vito.gamberini@kitware.com>
Merge-request: !11033
2025-08-06 10:07:51 -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
Martin Duffy
7435cabef3 Help: Add clarifying text to instrumentation API and Data versions 2025-08-06 09:18:09 -04: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
a5d67cf610 CMAKE_SYSTEM_NAME: Add initial list of removed platforms
Issue: #26496
2025-08-05 23:59:43 +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
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
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
Marc Chevrier
8af64914d6 set/unset commands: add CACHE{variable} syntax support
Add the support of CACHE{variable} syntax to enable:
* better consistency with other commands which use this syntax
* more flexibility regarding cache variable options
2025-08-04 20:46:23 +02: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
a1c1b8222b Merge topic 'patch-FindCups-version'
5e7bb96b81 FindCups: Add Cups_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11000
2025-08-04 10:37:33 -04:00
Brad King
2ce48479c4 Merge topic 'patch-FindLibLZMA-version'
08fc190c03 FindLibLZMA: Add LibLZMA_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11001
2025-08-04 10:35:18 -04:00
Brad King
d219994cf0 Merge topic 'patch-FindSDL-version'
faca50bd3f FindSDL*: Add <PackageName>_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11004
2025-08-04 10:27:44 -04:00
Brad King
8500539328 Merge topic 'find-var-doc-clarification'
cba75e669a find_xxx: Clarify command description

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10996
2025-08-04 10:14:20 -04:00
Peter Kokot
08fc190c03 FindLibLZMA: Add LibLZMA_VERSION
This deprecates the LIBLZMA_VERSION result variable.

Issue: #27088
2025-08-03 22:58:45 +02:00
Peter Kokot
5e7bb96b81 FindCups: Add Cups_VERSION
This deprecates the CUPS_VERSION_STRING result variable.

Issue: #27088
2025-08-03 22:47:00 +02:00
Peter Kokot
54486682a7 Help: Reposition internal modules
This adds a new section in the modules index to move some internal
modules out of the main two lists - utility modules and find modules.

They are not intended to be used by projects.

Additionally, SquishTestScript is not technically deprecated module. It
is just internally used by FindSquish module and mistakenly documented
and rendered.

Issue: #26851
2025-08-02 19:15:57 +02:00