Commit Graph

69985 Commits

Author SHA1 Message Date
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
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
Brad King 908814cda0 Merge topic 'iar-help-compiler-arch-id'
775e532afb IAR: Update documentation for CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10548
2025-03-31 09:45:15 -04:00
Brad King 543ad5d81f Merge topic 'gtest-workdir-with-spaces-tests'
b435d16202 GoogleTest: Add test for spaces in WORKING_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10547
2025-03-31 09:17:42 -04:00
Kitware Robot b31843680e CMake Nightly Date Stamp 2025-03-31 00:04:41 -04:00
Craig Scott 5978c57c20 Merge branch 'release-4.0' 2025-03-30 06:00:08 -04:00
Craig Scott eab202ac9d Merge topic 'doc-4.0-release-cleanup'
5dff5e2f7f Help: Fix typo in 4.0 release notes for CPack archive generator
713968c280 Help: Improve wording of docs related to MSVC runtime checks
316aaa6cdd Help: Fix inaccurate wording for CMAKE_XCODE_SCHEME_... variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10545
2025-03-30 06:00:08 -04:00
Craig Scott 468878b546 Merge topic 'doc-4.0-release-cleanup' into release-4.0
5dff5e2f7f Help: Fix typo in 4.0 release notes for CPack archive generator
713968c280 Help: Improve wording of docs related to MSVC runtime checks
316aaa6cdd Help: Fix inaccurate wording for CMAKE_XCODE_SCHEME_... variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10545
2025-03-30 06:00:06 -04:00
Craig Scott cf9f4177a2 Merge topic 'doc-cpack-configs'
d289d720cb Help: Use consistent plural form for CPack configurations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10546
2025-03-30 05:55:58 -04:00
Kitware Robot 550d243b7c CMake Nightly Date Stamp 2025-03-30 00:04:24 -04:00
Kitware Robot 7885d5edd9 CMake Nightly Date Stamp 2025-03-29 00:04:23 -04: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
Felipe Torrezan 775e532afb IAR: Update documentation for CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID 2025-03-28 10:47:37 +01:00
Craig Scott b435d16202 GoogleTest: Add test for spaces in WORKING_DIRECTORY 2025-03-28 18:05:40 +11:00
Craig Scott d289d720cb Help: Use consistent plural form for CPack configurations 2025-03-28 15:46:12 +11:00
Kitware Robot 94a019a82e CMake Nightly Date Stamp 2025-03-28 00:04:37 -04:00
Craig Scott 5dff5e2f7f Help: Fix typo in 4.0 release notes for CPack archive generator 2025-03-28 14:23:47 +11:00
Craig Scott 713968c280 Help: Improve wording of docs related to MSVC runtime checks 2025-03-28 14:23:47 +11:00
Craig Scott 316aaa6cdd Help: Fix inaccurate wording for CMAKE_XCODE_SCHEME_... variables 2025-03-28 14:23:46 +11: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
Brad King 01cb522276 Merge branch 'release-4.0' 2025-03-27 11:09:14 -04:00
Brad King f76a123f98 CMake 4.0.0 v4.0.0 2025-03-27 10:29:51 -04:00
Peter Kokot e9b86f5618 CMakeFindPackageMode: Move documentation to --find-package option
- This moves the CMakeFindPackageMode internal module documentation to
  the --find-package option as this module itself cannot be used by the
  project.
- Additionally, some links added.
- The `QUIET` variable renamed in documentation to `SILENT` to be
  effective according to the current code.
2025-03-27 15:29:36 +01:00
Brad King 4f2482700b FindCUDAToolkit: Fix cross-compiling without CMAKE_SYSTEM_PROCESSOR
Previously we relied on the cross-compiling toolchain file to set
`CMAKE_SYSTEM_PROCESSOR` to a value consistent with the CUDA compiler's
target architecture.  When a compiled language is enabled, we now have
its target architecture in `CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID`.
Use that to select the CUDA toolkit's corresponding target directory.

If no language is enabled, or the compiler's target architecture is not
known, fall back to `CMAKE_SYSTEM_PROCESSOR`.  If that is not set, fail
with an explicit error make clear what is wrong.
2025-03-27 10:21:57 -04:00
Brad King 2b8b17106c FindCABLE: Add policy to remove this module
CABLE has not been maintained in a long time.
2025-03-27 09:48:49 -04:00
Brad King 3c2ed4bbc6 FindGCCXML: Move documentation to list of deprecated modules
This was left out of commit 2123244746 (FindGCCXML: Add policy to remove
this module, 2025-02-17).
2025-03-27 09:48:49 -04:00
Brad King f403e570eb Merge topic 'compiler-architecture-id'
7f0f382c55 Provide CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID on more compilers
019f0f8b32 ARCHITECTURE_ID: Save persistently even if empty
8e46672b29 Fortran: Detect pointer size on sparc architectures
eddf66eaef CMakeDetermineASMCompiler: De-duplicate list of compiler info variables
c0224f5aa1 CMakeDetermineCompilerABI: Make ABI info string more robust
67ab580804 Windows/Clang: Fix indentation in platform information module
1c9f8eeb4f Help: Document CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10516
2025-03-27 09:21:48 -04:00
Brad King 54b548df7b Merge topic 'macos-bundle-content-dir'
6b3ec3fefb Ninja/Makefile: Add support for copying directories into Apple bundles

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10508
2025-03-27 09:19:52 -04:00
Brad King ed91e8c360 Merge topic 'file-download-handle-write-error'
9476245dcd file(DOWNLOAD): Handle write errors
1994393f7a cmCurl: Provide CURL_WRITEFUNC_ERROR for curl < 7.87

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10507
2025-03-27 09:17:11 -04:00
Brad King bc88b04944 Merge branch 'release-4.0' 2025-03-27 09:14:16 -04:00
Brad King 0b9b03cda1 Merge branch 'release-3.31' into release-4.0 2025-03-27 09:14:08 -04:00
Brad King a609ef5094 Merge branch 'release-3.31' 2025-03-27 09:13:52 -04:00
Brad King 1030b32931 Merge branch 'release-3.30' 2025-03-27 09:13:46 -04:00
Brad King 36b3f91b59 Merge branch 'release-4.0' 2025-03-27 09:10:32 -04:00
Brad King 48460d22aa Merge topic 'FindCUDAToolkit-cupti'
cbb8f30ee6 CUDAToolkit: Restore ability to find cupti library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !10533
2025-03-27 09:10:32 -04:00
Brad King f2a3a84834 Merge topic 'FindCUDAToolkit-cupti' into release-4.0
cbb8f30ee6 CUDAToolkit: Restore ability to find cupti library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !10533
2025-03-27 09:10:30 -04:00
Brad King 42e2964c5f Merge branch 'release-3.30' into release-3.31 2025-03-27 09:10:09 -04:00
Brad King d5d7175d9c Merge topic 'FindCUDAToolkit-cupti' into release-3.31
cbb8f30ee6 CUDAToolkit: Restore ability to find cupti library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10533
2025-03-27 09:09:47 -04:00
Brad King 750436c3a0 Merge topic 'FindCUDAToolkit-cupti' into release-3.30
cbb8f30ee6 CUDAToolkit: Restore ability to find cupti library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10533
2025-03-27 09:09:24 -04:00
Brad King 536d9aab56 Merge branch 'release-4.0' 2025-03-27 09:07:42 -04:00
Brad King ffad375ab1 Merge topic 'fix-CMAKE_PKG_CONFIG_PC_PATH-doc-typo-error'
a57eec57e5 Help: Fix typo in CMAKE_PKG_CONFIG_PC_PATH docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10530
2025-03-27 09:07:41 -04:00
Brad King 5fb6ef4e78 Merge topic 'fix-CMAKE_PKG_CONFIG_PC_PATH-doc-typo-error' into release-4.0
a57eec57e5 Help: Fix typo in CMAKE_PKG_CONFIG_PC_PATH docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10530
2025-03-27 09:07:40 -04:00
Brad King b9a2943ff3 Merge topic 'doc-modules-underline-style'
777d3eaf55 Help: Normalize cmake-modules(7) section heading underline style

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10534
2025-03-27 09:06:43 -04:00
Brad King 6c22ea8890 Merge topic 'patch-FindCABLE'
8c0468f07e FindCABLE: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10528
2025-03-27 09:05:38 -04:00
Brad King 3b76fc42dc Merge topic 'patch-FindWish'
a6ca70acd7 FindWish: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10531
2025-03-27 09:03:36 -04:00