Commit Graph

15523 Commits

Author SHA1 Message Date
Brad King 985bbf724a Merge topic 'fbuild'
94113ac687 ci: Add jobs for FASTBuild generator on Linux, macOS, and Windows
01147454e7 FASTBuild: Add generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Osyotr <zhenchik35026@gmail.com>
Acked-by: Peter Kokot <peterkokot@gmail.com>
Merge-request: !10941
2025-08-27 11:43:37 -04:00
Brad King 1637764cb7 Merge topic 'FindOpenMP-LLVMFlang'
d47ea5684a FindOpenMP: Add support for LLVMFlang on non-Windows too

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11069
2025-08-27 11:38:25 -04:00
Brad King 2981a064f4 Merge topic 'patch-FindwxWidgets-wxWidgets_USE_FILE'
4f9a8c8aa1 FindwxWidgets: Deprecate wxWidgets_USE_FILE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11110
2025-08-27 11:36:21 -04:00
Brad King 4af2db6ad9 Merge topic 'patch-FindQt3-version'
34a4b39cf3 FindQt3: Add Qt3_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11107
2025-08-27 11:35:02 -04:00
Brad King 2b12c3563e Merge topic 'patch-CPackIFWConfigureFile-min-version'
7db6ff4863 CMake: Include CPackIFWConfigureFile normally

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11104
2025-08-27 11:33:12 -04:00
Brad King 7f431ff6b4 Merge topic 'patch-FindTclsh-version'
f9fec08e69 FindTclsh: Add Tclsh_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11103
2025-08-27 11:29:31 -04:00
Brad King 08b46315ea Merge topic 'patch-FindDCMTK'
7578837ce7 FindDCMTK: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11102
2025-08-27 11:27:28 -04:00
Brad King 7212282f02 Merge topic 'patch-FindPkgConfig-found-var'
9e3d2cd94f FindPkgConfig: Deprecate PKG_CONFIG_FOUND

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11099
2025-08-27 11:16:46 -04:00
Eduard Voronkin 01147454e7 FASTBuild: Add generator
Fixes: #15294
2025-08-26 14:29:01 -07:00
scivision d47ea5684a FindOpenMP: Add support for LLVMFlang on non-Windows too
LLVMFlang requires explicit linking to `libomp` on all platforms.
2025-08-25 11:17:41 -04:00
Marc Chevrier 0a4a4d2053 FindPython: NumPy target does not depend on Development.Module
Fixes: #27123
2025-08-25 15:28:41 +02:00
Peter Kokot 4f9a8c8aa1 FindwxWidgets: Deprecate wxWidgets_USE_FILE
This variable in current CMake versions doesn't seem to be needed in any
case. Either if the UsewxWidgets is created in the project's own
CMAKE_MODULE_PATH location, or if FindwxWidgets is "forked" into project
own modules, include(UsewxWidgets) always includes the wanted file.
2025-08-25 01:52:40 +02:00
Peter Kokot 34a4b39cf3 FindQt3: Add Qt3_VERSION
This deprecates the QT_VERSION_STRING result variable.

The QT_VERSION_STRING was probably meant to be set also by FindQt4
module (for the deprecated FindQt) but at the time of writing isn't
implemented therefore replaced in the test.

Issue: #27088
2025-08-24 10:59:32 +02:00
Peter Kokot 7db6ff4863 CMake: Include CPackIFWConfigureFile normally
As minimum CMake version required to build CMake itself is set to 3.13,
including this module from the source directory isn't needed anymore,
as it was added in CMake 3.8. This also enables changing module code
as done in other modules - not dependent on CMake build system itself.
2025-08-23 11:48:36 +02:00
Peter Kokot f9fec08e69 FindTclsh: Add Tclsh_VERSION
This deprecates the TCLSH_VERSION_STRING result variable.

Issue: #27088
2025-08-22 23:10:09 +02:00
Peter Kokot 7578837ce7 FindDCMTK: Update documentation
- Synced module documentation with other similar find modules.
- Moved "compatibility" section into a refactored note at the top, when
  the config mode was implemented in this module.
- Added examples section.
2025-08-22 18:59:16 +02:00
Peter Kokot 9e3d2cd94f FindPkgConfig: Deprecate PKG_CONFIG_FOUND
Since most of the find modules use the `<PackageName>_FOUND` result
variables, this now also syncs it for the FindPkgConfig module. The
`PkgConfig_FOUND` result variable is available since CMake 3.3 and
contains the same value. There is also `PKGCONFIG_FOUND` result variable
automatically set with the same value but for simplicity isn't
documented. The uppercased `<PACKAGENAME>_FOUND` result variables set by
find modules are also considered legacy variables.
2025-08-21 01:01:33 +02:00
Brad King 36673385bb CUDA: Improve error message when CMAKE_CUDA_ARCHITECTURES contains quotes
Closes: #27150
2025-08-20 10:47:02 -04:00
Brad King 9e89400d13 Merge topic 'patch-26555-modules-intro-code-blocks'
1d0b46111e Help: Add remaining intro code blocks to modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11091
2025-08-20 10:14:39 -04: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 53d765cd5c Merge topic 'patch-FindMPI'
66be29e3e0 FindMPI: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11084
2025-08-18 10:15:54 -04:00
Peter Kokot 1d0b46111e Help: Add remaining intro code blocks to modules
This is a follow-up to add intro code blocks to all remaining utility
and find modules.

Fixes: #26555
2025-08-18 11:52:56 +02: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
Toby Isaac a1fa0a3f23 FindBLAS: Fix search for ACML when not in fallback paths
Avoid indexing an empty list.

Fixes: #27141
2025-08-15 14:00:20 -04:00
Brad King 69949719c8 Merge topic 'patch-FindwxWidgets'
e211e88501 FindwxWidgets: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11055
2025-08-15 09:39:48 -04:00
Brad King 4f33a6b096 Merge topic 'patch-FindKDE4'
de37ba1907 FindKDE4: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11074
2025-08-15 09:32:30 -04: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
Brad King ce83cab7fe Merge topic 'clang_cuda_support_cuda_13'
67c102ef64 Clang/CUDA: Support CUDA Toolkit 13 new include layout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11079
2025-08-15 08:27:48 -04:00
Peter Kokot 66be29e3e0 FindMPI: Update documentation
- Added intro code block showing how to use this module.
- Added "Components" section.
- Added "Examples" section.
- Restructured and synced module sections and their descriptions with
  other similar find modules.
- Updated deprecated variables section with versions where these
  variables got first deprecated (some of them in 2.8.5).
2025-08-15 06:00:04 +02: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
Robert Maynard 67c102ef64 Clang/CUDA: Support CUDA Toolkit 13 new include layout
This ensures that clang knows about the two includes that are required for CUDA 13.
2025-08-14 09:55:53 -04:00
Brad King d3bd945bea Merge topic 'patch-CMakeVerifyManifest'
a79e520169 CMakeVerifyManifest: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11075
2025-08-14 09:08:09 -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 fcc70a3ee3 Merge topic 'patch-BundleUtilities-modernization-gp_append_unique'
374eb128c9 GetPrerequisites: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11043
2025-08-14 08:28:50 -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
Brad King d870ed6b76 Merge topic 'patch-FindQt4-found-var'
9fb240da85 FindQt4: Clarify the Qt4_FOUND variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11062
2025-08-14 08:23:20 -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 4a26dbd4ba Merge topic 'patch-FindOpenGL'
e03c1c215b FindOpenGL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11049
2025-08-13 15:54:02 -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
Brad King fdbbf433d3 Merge topic 'patch-CMakeForceCompiler'
195b009796 CMakeForceCompiler: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11059
2025-08-13 15:36:47 -04:00
Brad King cd3ed09923 Merge topic 'patch-TestCXXAcceptsFlag'
b1ec2b36a8 TestCXXAcceptsFlag: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11058
2025-08-13 10:58:26 -04:00
Brad King fabf18fd95 Merge topic 'patch-UsePkgConfig'
c134021257 UsePkgConfig: Sync documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11057
2025-08-13 10:54:56 -04:00