Commit Graph

70218 Commits

Author SHA1 Message Date
Peter Kokot add5ea827c FindDevIL: Update documentation
- Added examples section.
- Explained the DevIL package libraries and imported targets in more
  details.
- Separated the result variables and cache variables.
- Module documentation synced as much as possible for the time being
  with other similar find modules.
2025-04-10 22:54:08 +02:00
Brad King 028e1027be Merge branch 'release-4.0' 2025-04-10 11:32:29 -04:00
Brad King ee515b2aa8 CMake 4.0.1 v4.0.1 2025-04-10 10:58:22 -04:00
Brad King 0007abc756 Merge branch 'release-4.0' 2025-04-10 10:54:13 -04:00
Brad King 03ceeac1bd Merge topic 'doc-macos-usr-local'
c69add958a Help: Add note about /usr/local/include on macOS without CMAKE_OSX_SYSROOT

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10636
2025-04-10 10:54:13 -04:00
Brad King a6969916ff Merge topic 'doc-macos-usr-local' into release-4.0
c69add958a Help: Add note about /usr/local/include on macOS without CMAKE_OSX_SYSROOT

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10636
2025-04-10 10:54:11 -04:00
Brad King c69add958a Help: Add note about /usr/local/include on macOS without CMAKE_OSX_SYSROOT
Issue: #19180
2025-04-10 10:16:29 -04:00
Brad King cb67f4a42b Merge branch 'release-4.0' 2025-04-10 09:52:14 -04:00
Brad King 8e4c49a4da Merge branch 'release-3.31' 2025-04-10 09:51:55 -04:00
Brad King f098dc700e Merge branch 'release-3.31' into release-4.0 2025-04-10 09:51:27 -04:00
Brad King 7b16db932a CMake 3.31.7 v3.31.7 2025-04-10 09:13:20 -04:00
Brad King 602b3d2b19 Merge topic 'patch-FindJava'
bc3bcff18c FindJava: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10630
2025-04-10 09:10:25 -04:00
Brad King 97970d2f4a Merge topic 'patch-FindCygwin'
f95eb088ad FindCygwin, FindMsys: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10629
2025-04-10 09:09:11 -04:00
Brad King b4835863b3 Merge topic 'patch-FindFreetype'
0b0d892dea FindFreetype: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10631
2025-04-10 09:07:14 -04:00
Brad King 0f6985fbfe Merge topic 'patch-FindIntl'
252d0d58cb FindIntl: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10628
2025-04-10 09:04:55 -04:00
Brad King 19f9e90568 Merge topic 'patch-FindFontconfig'
c398e44450 FindFontconfig: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10627
2025-04-10 09:00:25 -04:00
Brad King cc2d986fdf Merge topic 'GNUInstallDirs-special-cases'
4ed399ccfb GNUInstallDirs: Change special path defaults to absolute
7566a477f7 GNUInstallDirs: Factor out helper for special absolute path logic
42dfcbf1a5 GNUInstallDirs: Refactor LIBDIR default calculation
9789f7d05e GNUInstallDirs: Add internal helper to compute specific defaults
83f44bbf53 GNUInstallDirs: Factor out helper to compute system type
0c9b6aa9e4 GNUInstallDirs: De-duplicate description of defaults
18e1341950 GNUInstallDirs: Move defaults from arguments to variables
9f41a67fce GNUInstallDirs: Reduce duplication of CMAKE_INSTALL_ prefix
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10542
2025-04-10 08:57:49 -04:00
Brad King b309159930 Merge topic 'iar-add-icstat-support'
c7d2a17253 IAR: Add support for C-STAT static analysis

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10624
2025-04-10 08:40:28 -04:00
Brad King 19f7e1f98d Merge topic 'ci-iar'
f3fe3a7cd3 ci: Update to IAR bxarm 9.60.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10632
2025-04-10 08:32:57 -04:00
Brad King 6e101d7544 Merge topic 'hip-test-diagnostics'
c7ae9400c9 Tests/HIP: Improve diagnostics on failure
37089ffe20 Tests/HIP: Improve cmake code formatting
b8dd3b208a clang-format: Apply formatting to HIP sources with .hip extension

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10633
2025-04-10 08:30:07 -04:00
Brad King 7a862a8409 Merge branch 'release-4.0' 2025-04-10 08:27:41 -04:00
Brad King 180fc85666 Merge topic 'FindXCTest-xcode-16'
2e59cee922 FindXCTest: Fix test module generation for Xcode 16
c653c1aa47 FindXCTest: Pass -bundle_loader linker flag for test module more reliably

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10573
2025-04-10 08:27:40 -04:00
Brad King 3c08fa2b0d Merge topic 'FindXCTest-xcode-16' into release-4.0
2e59cee922 FindXCTest: Fix test module generation for Xcode 16
c653c1aa47 FindXCTest: Pass -bundle_loader linker flag for test module more reliably

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10573
2025-04-10 08:27:38 -04:00
Kitware Robot b9b2005e35 CMake Nightly Date Stamp 2025-04-10 00:06:45 -04:00
Brad King 2e59cee922 FindXCTest: Fix test module generation for Xcode 16
In Xcode 7.3 and above, the `TEST_HOST` setting causes Xcode to
implicitly place the test module inside the executable bundle regardless
of the module's own location settings.  Since commit a364d2513a (Xcode:
Fixup XCTest bundle location for Xcode 7.3, 2016-03-25, v3.5.2~6^2) we
explicitly tell CMake to put the test module in the same location so
that generator expressions used by `xctest_add_test` agree with where
Xcode actually puts it.  In Xcode 16 and above, our explicit location
settings for the test module conflict with Xcode's `TEST_HOST` rules,
causing errors about multiple commands producing the same path.

Fix this by dropping CMake's explicit location for the test module
unless needed to match a project-specified location for the testee.
Instead, teach `xctest_add_test` to express the xctest module location
selected by `TEST_HOST` by using generator expressions referencing the
testee bundle.

Fixes: #26301
Fixes: #26514
2025-04-09 17:06:13 -04:00
Peter Kokot bc3bcff18c FindJava: Update documentation
- Updated and reworded module documentation.
- Synced a bit with other similar find modules.
- Added separate examples section.
- Added `versionadded` directives for some components when they got
  introduced in the module.
2025-04-09 20:26:47 +02:00
Brad King c7ae9400c9 Tests/HIP: Improve diagnostics on failure 2025-04-09 13:32:36 -04:00
Brad King 37089ffe20 Tests/HIP: Improve cmake code formatting 2025-04-09 13:31:42 -04:00
Brad King b8dd3b208a clang-format: Apply formatting to HIP sources with .hip extension 2025-04-09 13:31:38 -04:00
Felipe Torrezan c7d2a17253 IAR: Add support for C-STAT static analysis
The IAR platform offers an integrated static analysis tool named
IAR C-STAT.

Closes: #26844
2025-04-09 12:01:02 -04:00
Brad King 11f67538c1 Merge topic 'update-kwsys'
abe4e4466b Merge branch 'upstream-KWSys' into update-kwsys
21c464252f KWSys 2025-04-09 (0fa969cb)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10625
2025-04-09 11:36:27 -04:00
Cristian Le 4ed399ccfb GNUInstallDirs: Change special path defaults to absolute
Add policy `CMP0192` for compatibility.

Closes: #25852
Signed-off-by: Cristian Le <git@lecris.dev>
2025-04-09 11:31:43 -04:00
Peter Kokot f95eb088ad FindCygwin, FindMsys: Update documentation
This extends the modules documentation to clarify their intended usage
is for other find modules rather than in projects directly.
2025-04-09 15:44:44 +02:00
Brad King abe4e4466b Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-04-09 (0fa969cb)
2025-04-09 09:37:34 -04:00
KWSys Upstream 21c464252f KWSys 2025-04-09 (0fa969cb)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 0fa969cb0ba76ef5f426e6ea56a63a5fe3cdc6ac (master).

Upstream Shortlog
-----------------

Brad King (3):
      4336afc4 SystemTools: Remove redundant FindProgramPath function
      54219234 SystemTools: Remove redundant FindProgram signatures
      7a633bad SystemTools: Remove FindLibrary

Daniel Pfeifer (1):
      ac633613 CTestConfig: Remove unused variables
2025-04-09 09:37:33 -04:00
Brad King f3fe3a7cd3 ci: Update to IAR bxarm 9.60.4
Run `.gitlab/ci/repackage/iar.ps1` with the installer and host the
package archives ourselves.
2025-04-09 09:30:49 -04:00
Brad King 0a23535877 Merge topic 'asm-no-msvc'
d4b3443ed2 ASM: Identify Microsoft assemblers more specifically
6baf65ec46 ASM: Do not consider MSVC C/CXX compiler for generic ASM
b52882e1e3 ASM: Drop outdated C compilers from assembler candidates
abfe98ce6c ASM: Consider C/CXX compilers only if enabled
d28fcdc8d8 ASM: Simplify compiler candidate list variable name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10626
2025-04-09 09:27:20 -04:00
Brad King 7bb7a6fb13 Merge topic 'android-riscv64'
201c3a491c Android: add support for riscv64-linux-android

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10622
2025-04-09 09:24:59 -04:00
Brad King 7a9505582c Merge topic 'patch-FindICU'
ed46adb6cf FindICU: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10599
2025-04-09 09:18:38 -04:00
Brad King f7fb3e92bf Merge branch 'release-4.0' 2025-04-09 09:12:35 -04:00
Brad King 8535fd0af3 Merge topic 'doc-CMAKE_OSX_SYSROOT'
2164da0ae6 Help: Document CMAKE_OSX_SYSROOT default change in 4.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10623
2025-04-09 09:12:34 -04:00
Brad King 46a439e1b6 Merge topic 'doc-CMAKE_OSX_SYSROOT' into release-4.0
2164da0ae6 Help: Document CMAKE_OSX_SYSROOT default change in 4.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10623
2025-04-09 09:12:33 -04:00
Brad King fff29ab244 Merge branch 'release-4.0' 2025-04-09 09:10:15 -04:00
Brad King 2a0993660d Merge branch 'release-3.31' 2025-04-09 09:10:08 -04:00
Brad King c800eeea5a Merge branch 'release-3.31' into release-4.0 2025-04-09 09:09:57 -04:00
Brad King 4ff3e43072 Merge branch 'release-4.0' 2025-04-09 09:08:38 -04:00
Brad King cacd17230f Merge topic 'apple-CoreFoundation-headers'
d736dafa22 Merge branch 'backport-3.31-apple-CoreFoundation-headers'
42390e7aa2 Source: Include specific CoreFoundation headers instead of umbrella header
14ffd1cc4e cmXCodeObject: Drop unused CoreFoundation header

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10616
2025-04-09 09:08:38 -04:00
Brad King 473e2b5a84 Merge topic 'apple-CoreFoundation-headers' into release-4.0
d736dafa22 Merge branch 'backport-3.31-apple-CoreFoundation-headers'
42390e7aa2 Source: Include specific CoreFoundation headers instead of umbrella header
14ffd1cc4e cmXCodeObject: Drop unused CoreFoundation header

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10616
2025-04-09 09:08:36 -04:00
Brad King 24b907a9e2 Merge topic 'backport-3.31-apple-CoreFoundation-headers' into release-3.31
42390e7aa2 Source: Include specific CoreFoundation headers instead of umbrella header
14ffd1cc4e cmXCodeObject: Drop unused CoreFoundation header

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10616
2025-04-09 09:07:27 -04:00
Peter Kokot 0b0d892dea FindFreetype: Update documentation
- Synced module documentation with other similar find modules.
- Added examples section.
- Freetype_FOUND variable used. FREETYPE_FOUND is also set to the same
  value by the find_package_handle_standard_args().
2025-04-09 14:53:17 +02:00