Commit Graph

71794 Commits

Author SHA1 Message Date
Peter Kokot 5000f895fd CheckIncludeFiles: Document version 3.11 for LANGUAGE option
- The check_include_files(LANGUAGE) option was added in CMake 3.11.
- Additionally, this syncs the documentation style for the other modules
  that check headers as they are commonly browsed together.
- Fixed typo in CheckIncludeFile module example.
2025-08-31 16:02:28 +02:00
Brad King bf46c263f8 Merge branch 'release-4.1' 2025-08-27 13:32:32 -04:00
Brad King ba8c4a15f1 CMake 4.1.1 v4.1.1 2025-08-27 12:33:28 -04:00
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
Brad King 1eeb753ae8 Merge topic 'patch-InstallRequiredSystemLibraries-min-version'
b510225b60 CMake: Include InstallRequiredSystemLibraries normally

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11105
2025-08-27 11:14:19 -04:00
Brad King f156d7fa1f Merge topic 'FindPython-NumPy-target'
0a4a4d2053 FindPython: NumPy target does not depend on Development.Module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11093
2025-08-27 11:10:59 -04:00
Brad King e804896981 Merge topic 'instrumentation-configure-content'
451e2cb2a1 instrumentation: Add cmake_instrumentation check to ctest_instrumentation test
e6b37105ba instrumentation: Collect custom content from CMake configure

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10988
2025-08-27 11:02:21 -04:00
Brad King 5e5a0d4740 Merge branch 'release-4.1' 2025-08-27 10:53:27 -04:00
Brad King a9097e8f0d Merge topic 'cmList-swap-fix'
071e8678de cmList: fix swap function definition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !11101
2025-08-27 10:53:27 -04:00
Brad King e0cd3b7e7d Merge topic 'cmList-swap-fix' into release-4.1
071e8678de cmList: fix swap function definition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !11101
2025-08-27 10:53:22 -04:00
Brad King 60b11b310d Merge branch 'release-4.1' 2025-08-27 10:48:19 -04:00
Brad King fe9b7acc4a Merge topic 'vs7-generator-utility-target-typo'
93a83bcc00 cmGlobalVisualStudio7Generator: fix initialization typo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11100
2025-08-27 10:48:18 -04:00
Brad King cf9cdde33d Merge topic 'vs7-generator-utility-target-typo' into release-4.1
93a83bcc00 cmGlobalVisualStudio7Generator: fix initialization typo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11100
2025-08-27 10:48:13 -04:00
Brad King 3a47c7954b Merge branch 'release-4.1' 2025-08-27 10:42:17 -04:00
Brad King b73fbadbae Merge branch 'release-4.0' 2025-08-27 10:42:15 -04:00
Brad King 7c169d5abb Merge branch 'release-4.0' into release-4.1 2025-08-27 10:42:09 -04:00
Brad King 780d30c277 Merge branch 'release-4.1' 2025-08-27 10:40:13 -04:00
Brad King 79122abdca Merge topic 'ninja-many-subdirs'
6de40e7a4d Ninja: Fix regression with `.bat` wrapper around `ninja`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Josef Angstenberger <code@jtxa.de>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !11111
2025-08-27 10:40:13 -04:00
Brad King 18b3dd1e91 Merge topic 'ninja-many-subdirs' into release-4.1
6de40e7a4d Ninja: Fix regression with `.bat` wrapper around `ninja`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Josef Angstenberger <code@jtxa.de>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !11111
2025-08-27 10:40:10 -04:00
Brad King e81741a63e Merge topic 'ninja-many-subdirs' into release-4.0
6de40e7a4d Ninja: Fix regression with `.bat` wrapper around `ninja`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11111
2025-08-27 10:38:44 -04:00
Kitware Robot a6e40f0b99 CMake Nightly Date Stamp 2025-08-27 00:05:10 -04:00
Brad King 94113ac687 ci: Add jobs for FASTBuild generator on Linux, macOS, and Windows 2025-08-26 14:29:05 -07:00
Eduard Voronkin 01147454e7 FASTBuild: Add generator
Fixes: #15294
2025-08-26 14:29:01 -07:00
Kitware Robot 1cb225d90f CMake Nightly Date Stamp 2025-08-26 00:05:06 -04:00
Brad King 6de40e7a4d Ninja: Fix regression with .bat wrapper around ninja
Revise the change from commit 5a36d0c9e7 (Ninja: Fix regression with a
large number of subdirectories, 2025-03-04, v4.0.0-rc3~2^2) to use a
command-line length limit small enough for `.bat` files.

Fixes: #27153
2025-08-25 11:31:23 -04: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
Brad King 46fc0232ae Merge topic 'fix-get-mapped-config'
05ae95c864 cmTarget: Overhaul GetMappedConfig

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10995
2025-08-25 09:16:53 -04:00
Brad King c26dda4330 Merge topic 'cuda-arch-quotes'
36673385bb CUDA: Improve error message when CMAKE_CUDA_ARCHITECTURES contains quotes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11096
2025-08-25 09:14:40 -04:00
Kitware Robot ae7efabf2c CMake Nightly Date Stamp 2025-08-25 00:04:56 -04: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
Kitware Robot c846595f6e CMake Nightly Date Stamp 2025-08-24 00:04:35 -04: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 b510225b60 CMake: Include InstallRequiredSystemLibraries normally
This includes this module normally and enables changing
InstallRequiredSystemLibraries independently of the minimum CMake
version specified in the CMake's root CMakeLists.txt, when building
CMake itself with CMake.
2025-08-23 11:37:06 +02:00
Kitware Robot a5c0240d1a CMake Nightly Date Stamp 2025-08-23 00:04:46 -04: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
Kitware Robot 492a531e8a CMake Nightly Date Stamp 2025-08-22 00:05:48 -04:00
Marc Chevrier 071e8678de cmList: fix swap function definition
swap function should be in the same namespace as the cmList class.

Reported by https://pvs-studio.com/en/blog/posts/cpp/1277/ (N1)

Issue: #27159
2025-08-21 17:19:52 +02:00
Martin Duffy 451e2cb2a1 instrumentation: Add cmake_instrumentation check to ctest_instrumentation test
Update the `ctest_instrumentation` test cases to cover use of the
`cmake_instrumentation` command and some of its arguments as a way of enabling
instrumentation.
2025-08-21 07:20:20 -04:00
Martin Duffy e6b37105ba instrumentation: Collect custom content from CMake configure
Add a `CUSTOM_CONTENT` argument to `cmake_instrumentation()` for collecting
custom content from configure time.

Snippet files include a reference to a JSON file containing any `CUSTOM_CONTENT`
that was added by this command.

Fixes: #26703
2025-08-21 07:20:12 -04:00
Kitware Robot 8bb3173bd5 CMake Nightly Date Stamp 2025-08-21 00:05:08 -04:00