Commit Graph

70035 Commits

Author SHA1 Message Date
Brad King bbc181e0e3 Merge branch 'release-4.0' 2025-04-02 10:12:24 -04:00
Brad King 4e8495bc11 Merge topic 'revert-get_filename_component-REALPATH-symlink-parent'
94d65a9535 get_filename_component: Restore lexical preprocessing of REALPATH for compat

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10564
2025-04-02 10:12:24 -04:00
Brad King e0bc2f9705 Merge topic 'revert-get_filename_component-REALPATH-symlink-parent' into release-4.0
94d65a9535 get_filename_component: Restore lexical preprocessing of REALPATH for compat

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10564
2025-04-02 10:12:22 -04:00
Kitware Robot d422e04b74 CMake Nightly Date Stamp 2025-04-02 00:04:40 -04: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 a569077b88 Merge topic 'patch-CMAKE_COMPILER_IS_GNU-docs'
7db3f983b3 CMAKE_COMPILER_IS_*: Add RST deprecation directives and update docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10550
2025-04-01 13:03:45 -04:00
Brad King 2afcbe9a81 Merge topic 'patch-cmake-developer-docs'
4af847a1cd Help: Refine the Foo_VERSION_STRING explanation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10568
2025-04-01 12:57:21 -04:00
Brad King 9555e315f6 Merge branch 'release-4.0' 2025-04-01 12:54:37 -04:00
Brad King 029415fc68 Merge topic 'unity-relative-paths'
f706d8064b Help: Clarify wording of UNITY_BUILD_RELOCATABLE path alternatives
20412690fb Help: Add 4.0 release note for UNITY_BUILD_RELOCATABLE
89cea1c642 Help: Document CMAKE_UNITY_BUILD_RELOCATABLE variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10570
2025-04-01 12:54:36 -04:00
Brad King faa225b63b Merge topic 'unity-relative-paths' into release-4.0
f706d8064b Help: Clarify wording of UNITY_BUILD_RELOCATABLE path alternatives
20412690fb Help: Add 4.0 release note for UNITY_BUILD_RELOCATABLE
89cea1c642 Help: Document CMAKE_UNITY_BUILD_RELOCATABLE variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10570
2025-04-01 12:54:34 -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 94d65a9535 get_filename_component: Restore lexical preprocessing of REALPATH for compat
Revert commit c554437733 (get_filename_component: Fix REALPATH for ..
after symlink, 2024-11-21, v4.0.0-rc1~411^2) because it changed existing
behavior without a policy.  Also add a test case for the old behavior.

Note that we have policy `CMP0152` to fix this for `file(REAL_PATH)`,
but it does not affect `get_filename_component(... REALPATH)`.  A new
policy would be needed for the latter.

Fixes: #26815
Issue: #26472
2025-04-01 09:45:03 -04:00
Kitware Robot 9257afbf8b CMake Nightly Date Stamp 2025-04-01 00:04:32 -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
Brad King f706d8064b Help: Clarify wording of UNITY_BUILD_RELOCATABLE path alternatives 2025-03-31 19:35:30 -04:00
Brad King 20412690fb Help: Add 4.0 release note for UNITY_BUILD_RELOCATABLE
This was left out of commit 84996a65aa (Unity: Add option to use
relative paths for unity files, 2024-10-15, v4.0.0-rc1~637^2).

Issue: #26352
2025-03-31 19:31:03 -04:00
Brad King 89cea1c642 Help: Document CMAKE_UNITY_BUILD_RELOCATABLE variable
In commit 84996a65aa (Unity: Add option to use relative paths for unity
files, 2024-10-15, v4.0.0-rc1~637^2) we added support for this variable
to initialize the `UNITY_BUILD_RELOCATABLE` target property, but forgot
to document it.

Issue: #26352
2025-03-31 19:31:00 -04:00
Peter Kokot d5225ed7c7 FindALSA: Update documentation
- Added examples section.
- Synced descriptions.
2025-04-01 00:57:00 +02:00
Peter Kokot 4af847a1cd Help: Refine the Foo_VERSION_STRING explanation
Changes:

- The Foo_VERSION_STRING variable is a legacy variable name and should
  be set in find modules only if the existing module is replacing some
  of its previous version. Meaning new modules/code shouldn't introduce
  such variable from scratch.
- Reworded some sentences to remove "you" making the documentation more
  neutral and less direct.
2025-04-01 00:55:59 +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 1056f0b166 ci: Add aspell to Debian and Fedora base images 2025-03-31 15:41:05 -04: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
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
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