Commit Graph

8631 Commits

Author SHA1 Message Date
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
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
Vito Gamberini
cba75e669a find_xxx: Clarify command description
Also cleans up a missing infinitive in find_file

Fixes: #25844
2025-08-01 11:33:13 -04:00
Brad King
a4ef872a24 Merge topic 'doc-package-presets-no-effect-keywords'
60a921dce4 Help: Note that some packaging preset keywords don't work as expected

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10997
2025-08-01 11:22:14 -04: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
Craig Scott
60a921dce4 Help: Note that some packaging preset keywords don't work as expected
Due to how the default value of the CPACK_PACKAGE_FILE_NAME variable
is implemented, the packageName and packageVersion fields of packaging
presets don't affect the final package file name. They can still affect other
aspects of the package produced, depending on the package generator
used, leading to inconsistencies in the generated package. There is no
warning or error about this when producing the packages, and fixing the
implementation is non-trivial. Until such a fix can be made, add a note to
the docs to make users aware of this unexpected behavior.

Issue: #25248
2025-08-01 16:50:20 +10:00
Peter Kokot
7e6634ef67 FindLTTngUST: Add LTTngUST_VERSION
This deprecates the LTTNGUST_VERSION_STRING result variable.

Issue: #27088
2025-07-31 21:02:26 +02:00
Peter Kokot
5f2fdb7cbf FindPNG: Add PNG_VERSION
This deprecates the PNG_VERSION_STRING result variable.

Additionally, the documentation has been adjusted and synced with other
similar find modules:
- Added "Deprecated Variables" section and deprecated versions.
- Added intro code block how to use this module.

Issue: #27088
2025-07-31 21:02:05 +02:00
Peter Kokot
dd714b4b99 FindLibXslt: Add LibXslt_VERSION
This deprecates the LIBXSLT_VERSION_STRING result variable.

Issue: #27088
2025-07-31 20:59:21 +02:00
Peter Kokot
1b956832d8 FindLibXml2: Add LibXml2_VERSION
This deprecates the LIBXML2_VERSION_STRING result variable.

Issue: #27088
2025-07-31 20:57:44 +02:00
Peter Kokot
2ce689eae2 FindJasper: Add Jasper_VERSION
This deprecates the JASPER_VERSION_STRING result variable.

Issue: #27088
2025-07-31 20:56:41 +02:00
Peter Kokot
58d61f6846 FindFreetype: Add Freetype_VERSION
This deprecates the FREETYPE_VERSION_STRING result variable.

Issue: #27088
2025-07-31 20:55:15 +02:00
Peter Kokot
1e61580bd3 FindEXPAT: Add EXPAT_VERSION
This deprecates the EXPAT_VERSION_STRING result variable, which was
previously not documented.

Issue: #27088
2025-07-31 20:48:54 +02:00