Commit Graph

14944 Commits

Author SHA1 Message Date
Brad King
1736a99497 Merge topic 'patch-FindHSPELL'
c27d2bee7f FindHSPELL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10577
2025-04-03 14:02:05 -04:00
Brad King
4ebec03bbf Merge topic 'patch-FindEXPAT'
8e91ee67d9 FindEXPAT: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10578
2025-04-03 14:00:42 -04:00
Brad King
8b13fb6d58 Merge topic 'patch-CMakeDependentOption-false-confition'
7fae768c3f CMakeDependentOption: Fix documentation regarding false condition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10579
2025-04-03 13:58:41 -04:00
Peter Kokot
7fae768c3f CMakeDependentOption: Fix documentation regarding false condition
This fixes the commit 67055f5b3a:
- If condition is false, local variable is always set to `<else-value>`
2025-04-02 21:12:49 +02:00
Brad King
caf1ddf3a6 Merge topic 'hip-debug-no-opt'
b805f55325 HIP: Fix default flags for Debug configuration

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10572
2025-04-02 10:20:48 -04:00
Peter Kokot
8e91ee67d9 FindEXPAT: Update documentation
- Added examples section.
- Module documentation synced a bit with other similar find modules.
- Descriptions synced.
2025-04-02 02:05:48 +02:00
Peter Kokot
c27d2bee7f FindHSPELL: Update documentation
- Synced module description with other similar find modules.
- Added examples section
- HSPELL_DEFINITIONS variable removed from the documentation as it was
  never defined by this module.
2025-04-02 01:54:31 +02:00
Brad King
b6c88c0c5d Merge topic 'patch-FindASPELL'
dd2edc3497 FindASPELL: Add components and imported targets
1056f0b166 ci: Add aspell to Debian and Fedora base images

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10543
2025-04-01 13:07:18 -04:00
Brad King
39cccd1db8 Merge topic 'patch-CMAKE_COMPILER_IS_GNU'
50e57aa4ca CMAKE_COMPILER_IS_*: Replace with CMAKE_<LANG>_COMPILER_ID

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10551
2025-04-01 13:05:54 -04:00
Brad King
b88845b4fd Merge topic 'patch-FindLTTngUST'
26078a7055 FindLTTngUST: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10565
2025-04-01 12:03:10 -04:00
Brad King
d52995da58 Merge topic 'patch-FindALSA'
d5225ed7c7 FindALSA: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10569
2025-04-01 12:01:56 -04:00
Brad King
3715e95e95 Merge topic 'patch-FindBZip2'
f8869eaf74 FindBZip2: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10567
2025-04-01 12:00:28 -04:00
Brad King
2e8b7967ac Merge topic 'patch-FindBacktrace'
533d5eafcb FindBacktrace: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10566
2025-04-01 11:58:37 -04:00
Brad King
6aaa7f1456 Merge topic 'patch-FindPerl'
d9c92f01db FindPerl: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10553
2025-04-01 11:56:49 -04:00
Brad King
01af7cdd7b Merge topic 'patch-FindGIF'
22f8ff9f40 FindGIF: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10555
2025-04-01 11:53:20 -04:00
Brad King
04ebeb2eb2 Merge topic 'patch-FindPerlLibs'
263a053465 FindPerlLibs: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10554
2025-04-01 11:49:51 -04:00
Brad King
24a85ac116 Merge topic 'patch-FindGit'
c584c45f9c FindGit: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10556
2025-04-01 11:46:36 -04:00
Brad King
0f472f40df Merge topic 'patch-FindZLIB-docs'
24c01e01e6 FindZLIB: Add example and update docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10557
2025-04-01 11:44:04 -04:00
Brad King
d14fd03e8f Merge topic 'patch-FindXMLRPC'
826a3d8c3f FindXMLRPC: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10558
2025-04-01 11:40:26 -04:00
Brad King
36989ee7d8 Merge topic 'patch-FindLibXslt'
d898436cdd FindLibXslt: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10559
2025-04-01 11:37:51 -04:00
Brad King
33e4ff5def Merge topic 'patch-FindSQLite3'
c11e37a968 FindSQLite3: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10560
2025-04-01 11:35:26 -04:00
Brad King
a90689939a Merge topic 'patch-FindPhysFS'
7be6d88f24 FindPhysFS: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10561
2025-04-01 11:30:29 -04:00
Brad King
3bcaf0db06 Merge topic 'patch-FindJPEG'
db8064f85e FindJPEG: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10562
2025-04-01 11:19:24 -04:00
Brad King
e3f728e4dc Merge topic 'patch-CMakeDependentOption'
67055f5b3a CMakeDependentOption: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10563
2025-04-01 11:10:04 -04:00
Brad King
b805f55325 HIP: Fix default flags for Debug configuration
Pass `-g` to enable debugging, not `-O` for optimizations.  This was
probably a typo in commit b50bfc8913 (HIP: Add language to CMake,
2020-08-28, v3.21.0-rc1~66^2~4).

Fixes: #26823
2025-04-01 10:52:57 -04:00
Peter Kokot
dd2edc3497 FindASPELL: Add components and imported targets
Components are added in a backward-compatible way:

* ASPELL component - adds the ASPELL::ASPELL imported target
* Executable component - adds the ASPELL::Executable imported target

If components are not specified in find_package() call, module, by
default, searches for both components and provides backward
compatibility with the find_package(ASPELL) usage via ASPELL_LIBRARIES,
ASPELL_INCLUDE_DIR, and ASPELL_EXECUTABLE variables.

The ASPELL_DEFINITIONS variable description removed from the
documentation as it was never defined by this module.

Additionally added a Pspell interface check (pspell.h header file) if
Aspell library provides it. It is checked separately because it might
be located in a subdirectory of pspell/pspell.h and code includes it as
`<pspell.h>`. Some distributions package pspell.h as part of the
libpspell development package and install also libaspell development
package as a dependency for BC.

Added also ASPELL_VERSION variable in case aspell executable can
determine it.

Issue: #26811
2025-04-01 05:25:25 +02:00
Peter Kokot
26078a7055 FindLTTngUST: Update documentation
- Added examples section.
- Descriptions synced a bit.
- Separated result and cache variables.
- RST syntax synced.
- LTTngUST_FOUND and the uppercased LTTNGUST_FOUND are always set to the
  same value by the find module in this case - description synced.
2025-04-01 04:55:29 +02:00
Peter Kokot
d5225ed7c7 FindALSA: Update documentation
- Added examples section.
- Synced descriptions.
2025-04-01 00:57:00 +02:00
Peter Kokot
f8869eaf74 FindBZip2: Update documentation
- Added examples section.
- Descriptions reworded and synced a bit with other find modules.
- BZIP2_NEED_PREFIX variable moved to cache variables
- BZip2_FOUND variable described instead of BZIP2_FOUND to be synced
  with other find modules and current naming conventions. Both of these
  variables are set to the same value in this case.
2025-04-01 00:29:49 +02:00
Peter Kokot
533d5eafcb FindBacktrace: Update documentation
- Moved imported targets section to the top.
- Reworded some descriptions.
- Added separate examples section.
2025-04-01 00:23:53 +02:00
Brad King
fc3e3cd2e4 Merge topic 'cuda-cross-targets'
4f2482700b FindCUDAToolkit: Fix cross-compiling without CMAKE_SYSTEM_PROCESSOR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10541
2025-03-31 09:48:58 -04:00
Brad King
e14678d53b Merge topic 'patch-FindArmadillo'
dcea9ac688 FindArmadillo: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10544
2025-03-31 09:48:12 -04:00
Peter Kokot
67055f5b3a CMakeDependentOption: Update documentation
This updates the module documentation to be more synced with other
modules. Also, this module on the first glance doesn't do what most
people might think. Because when condition evaluates to false, internal
cache remains with the same value, and a local variable is created with
the value provided in the last argument.

- Command arguments described separately and their placeholders renamed
  to more intuitive names.
- More examples added, starting with a very basic syntax usage to more
  complex ones, each described in more details.
- Each example has include() added to be more clear that this is a
  module command.
2025-03-31 02:42:49 +02:00
Peter Kokot
db8064f85e FindJPEG: Update documentation 2025-03-31 02:23:24 +02:00
Peter Kokot
7be6d88f24 FindPhysFS: Update documentation
- Synced the descriptions.
- Added basic example how to find the library.
2025-03-30 20:27:24 +02:00
Peter Kokot
c11e37a968 FindSQLite3: Update documentation
- Added usage example to highlight the imported target.
- Reworded and extended descriptions.
2025-03-30 20:05:30 +02:00
Peter Kokot
d898436cdd FindLibXslt: Update documentation
- Updated and synced descriptions
- Added usage examples
- Described imported targets in more details
2025-03-30 01:52:07 +01:00
Peter Kokot
826a3d8c3f FindXMLRPC: Update documentation
- Added some basic introduction
- Updated a list of XML-RPC library features (also known as modules)
- Updated example and descriptions
2025-03-30 00:30:13 +01:00
Peter Kokot
50e57aa4ca CMAKE_COMPILER_IS_*: Replace with CMAKE_<LANG>_COMPILER_ID
Variables such as CMAKE_COMPILER_IS_GNUCC are documented as
obsolete/deprecated and ideally shouldn't be used in the code anymore
to have clearer compiler identifications.

In the past QCC compiler was identified as GNU and also had this
variable set to 1 (see policy CMP0047).  Same still applies for LCC
compiler (see policy CMP0129).
2025-03-29 20:31:49 +01:00
Peter Kokot
24c01e01e6 FindZLIB: Add example and update docs
- Usage example added to highlight the imported target usage.
- This updates and syncs the module documentation as done in other
  similar find modules.
- The legacy variable ZLIB_VERSION_STRING mentioned only in the legacy
  variables section.
2025-03-29 19:15:48 +01:00
Peter Kokot
c584c45f9c FindGit: Update documentation
- Git_FOUND variable synced.
- Added more descriptions and synced with other similar find modules.
- Example extended.
2025-03-29 18:35:00 +01:00
Peter Kokot
22f8ff9f40 FindGIF: Update documentation
- Added example
- Updated descriptions
2025-03-29 14:57:13 +01:00
Peter Kokot
d9c92f01db FindPerl: Update documentation
- Added example.
- Docs synced with other similar find modules.
- Perl_FOUND and PERL_FOUND variables are always set as of CMake 3.3 to
  the same value.
2025-03-29 05:48:36 +01:00
Peter Kokot
263a053465 FindPerlLibs: Update documentation 2025-03-29 05:47:52 +01:00
Brad King
e0b64aad53 Merge topic 'remove-FindCABLE'
2b8b17106c FindCABLE: Add policy to remove this module
3c2ed4bbc6 FindGCCXML: Move documentation to list of deprecated modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10540
2025-03-28 09:16:34 -04:00
Brad King
883ba45df8 Merge topic 'patch-CMakeFindPackageMode'
e9b86f5618 CMakeFindPackageMode: Move documentation to --find-package option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10537
2025-03-28 09:12:32 -04:00
Brad King
6c79abb5f5 Merge topic 'patch-FindOpenCL'
677860c0d4 FindOpenCL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10535
2025-03-28 09:10:47 -04:00
Brad King
2ee3fc08d8 Merge topic 'patch-FindMotif'
d08ff1356d FindMotif: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10538
2025-03-28 09:07:14 -04:00
Brad King
a3c4cc2b1e Merge topic 'patch-FindIcotool'
dd6b3a1d9e FindIcotool: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10536
2025-03-28 09:05:39 -04:00
Peter Kokot
dcea9ac688 FindArmadillo: Update documentation
- Synced formatting with other similar find modules
- Added imported target to the example instead of defining compilation
  properties for the entire directory.
- The Armadillo_FOUND variable used - both are always set by
  find_package_handle_standard_args() for BC.
2025-03-28 04:20:28 +01:00