Peter Kokot
f0b4c19052
FindIcotool: Add Icotool_VERSION
...
This deprecates the ICOTOOL_VERSION_STRING result variable.
Issue: #27088
2025-08-20 23:32:53 +02:00
Peter Kokot
f503c8dad4
FindHSPELL: Add HSPELL_VERSION
...
This deprecates the HSPELL_VERSION_STRING result variable.
Additionally, fixed typos:
* HSPELL_VERSION_MAJOR
* HSPELL_VERSION_MINOR
Issue: #27088
2025-08-20 23:31:41 +02:00
Brad King
7d7b91717c
Merge topic 'patch-FindPkgConfig-version'
...
13366e3045 FindPkgConfig: Add PkgConfig_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11089
2025-08-20 10:10:34 -04:00
Brad King
4dfc6d200b
Merge topic 'patch-FindwxWidgets-version'
...
559500bede FindwxWidgets: Add wxWidgets_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11088
2025-08-20 10:06:12 -04:00
Brad King
2ec20fc2f8
Merge topic 'patch-FindHg-version'
...
e463cf3283 FindHg: Add Hg_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11083
2025-08-18 10:20:21 -04:00
Brad King
9062fc9c16
Merge topic 'install-object-name-strategy'
...
c651b0e002 objects: implement installation naming strategies
29c7f19280 cmTarget: add the `INSTALL_OBJECT_NAME_STRATEGY` property
757c40c478 cmObjectLocation: add a class to track object locations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11046
2025-08-18 09:45:19 -04:00
Craig Scott
333d28cd13
Merge topic 'doc-origin-autogen-xref-text'
...
6592d66030 Help: Prevent section headings being used for <ORIGIN>_autogen xrefs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11085
2025-08-18 08:30:37 -04:00
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
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
Craig Scott
6592d66030
Help: Prevent section headings being used for <ORIGIN>_autogen xrefs
...
The references to the <ORIGIN>_autogen and
<ORIGIN>_autogen_timestamp_deps anchors were being replaced by the
section heading text that immediately followed the anchors. But in most
cases, the text where the cross-referencing was placed was expecting the
anchor text to be used instead. Add custom text for such cross-references
so that the text reads as originally intended.
2025-08-15 19:02:16 +10: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
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
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
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
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
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
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
Ben Boeckel
29c7f19280
cmTarget: add the INSTALL_OBJECT_NAME_STRATEGY property
2025-08-07 11:24:32 -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
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
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
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
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
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
faca50bd3f
FindSDL*: Add <PackageName>_VERSION
...
This adds the `<PackageName>_VERSION` result variables and deprecates
the `<PackageName>_VERSION_STRING` result variables for the following
modules:
* FindSDL_gfx
* FindSDL_image
* FindSDL_mixer
* FindSDL_net
* FindSDL_sound
* FindSDL_ttf
Issue: #27088
2025-08-02 03:54:18 +02:00
Brad King
04dee97487
Merge topic 'patch-find-modules-versions'
...
7e6634ef67 FindLTTngUST: Add LTTngUST_VERSION
5f2fdb7cbf FindPNG: Add PNG_VERSION
dd714b4b99 FindLibXslt: Add LibXslt_VERSION
1b956832d8 FindLibXml2: Add LibXml2_VERSION
2ce689eae2 FindJasper: Add Jasper_VERSION
58d61f6846 FindFreetype: Add Freetype_VERSION
1e61580bd3 FindEXPAT: Add EXPAT_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Vito Gamberini <vito.gamberini@kitware.com >
Merge-request: !10994
2025-08-01 11:20:10 -04:00
Brad King
d1be722330
Merge topic 'issue-24923-new-cli-tools'
...
8797912e4d cmake -E: Add copy_if_newer and copy_directory_if_newer
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10957
2025-08-01 11:13:56 -04:00