Commit Graph

8656 Commits

Author SHA1 Message Date
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
ced6ca50f1 Merge topic 'foreach-assertion'
ac8fe36aba Help: Improve clarity of foreach behavior
37e27f71bc foreach: Explicitly skip replay without iterations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11081
2025-08-15 08:31:45 -04:00
Brad King
18eed8502c Merge topic 'cps-add-versions'
ae373e93fb install(PACKAGE_INFO): Add version and location to package dependencies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10993
2025-08-14 09:12:52 -04:00
Brad King
51fe4c2a0e Merge topic 'ctest-instrumentation-envvar'
a97bb70bd9 Tests: Isolate tests from CTEST_USE_INSTRUMENTATION variable
2e05695b30 Help: Fix documentation for CTEST_USE_*_INSTRUMENTATION variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11038
2025-08-14 09:10:45 -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
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
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
Tyler Yankee
ac8fe36aba Help: Improve clarity of foreach behavior 2025-08-13 16:29:18 -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
Taylor Sasser
ae373e93fb install(PACKAGE_INFO): Add version and location to package dependencies
Refactor `cmFindPackageStack` to track additional metadata
about <package> found. This includes two new fields,
`Version` and `Location` which correspond to package version and path.
The remaining package information will be implemented in a later commit
2025-08-12 11:07:09 -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
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
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
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
2e05695b30 Help: Fix documentation for CTEST_USE_*_INSTRUMENTATION variables 2025-08-06 17:11:03 -04: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