Commit Graph

15021 Commits

Author SHA1 Message Date
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 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 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
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
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
Peter Kokot 252d0d58cb FindIntl: Update documentation
- Added examples section, highlighting the imported target usage.
- Synced the module documentation with other similar find modules.
- Extended gettext and intl introduction.
- Moved FindGettext module to the "See Also" section.
2025-04-09 02:29:19 +02:00
Peter Kokot c398e44450 FindFontconfig: Update documentation
- Synced module documentation with other similar find modules.
- Added examples section, highlighting the imported target usage.
2025-04-08 23:46:35 +02:00
Brad King d4b3443ed2 ASM: Identify Microsoft assemblers more specifically
Other tools may print "Microsoft" when invoked with `-?`, such as `cl`.
Look for output specific to the Microsoft Macro Assembler and its ARM
variant.
2025-04-08 15:23:08 -04:00
Brad King 6baf65ec46 ASM: Do not consider MSVC C/CXX compiler for generic ASM
`cl` does not know how to compile ASM `.s` or `.asm` sources.

Issue: #26617
2025-04-08 15:22:54 -04:00
Brad King b52882e1e3 ASM: Drop outdated C compilers from assembler candidates 2025-04-08 15:22:44 -04:00
Brad King abfe98ce6c ASM: Consider C/CXX compilers only if enabled 2025-04-08 15:22:32 -04:00
Brad King d28fcdc8d8 ASM: Simplify compiler candidate list variable name
`ASM_DIALECT` is always empty for plain `ASM`.
2025-04-08 15:22:07 -04:00
Brad King 9d3954e26d Merge topic 'patch-FindLibLZMA'
86ed465ee6 FindLibLZMA: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10614
2025-04-08 10:37:20 -04:00
Brad King d5bd1bef03 Merge topic 'patch-FindXercesC'
d16e3b02d9 FindXercesC: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10590
2025-04-08 10:35:59 -04:00
Brad King 057ed50dbe Merge topic 'patch-FindPHP4'
c0896fcacb FindPHP4: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10612
2025-04-08 10:34:28 -04:00
Brad King aeb34fa137 Merge topic 'patch-FindTCL'
0c795786d2 FindTCL, FindTclStub: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10611
2025-04-08 10:33:02 -04:00
Brad King 927d46fa30 Merge topic 'patch-FindTclsh'
8433a9e3f7 FindTclsh: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10609
2025-04-08 10:31:45 -04:00
Brad King e6103a2c66 Merge topic 'patch-FindPatch'
a01b092e19 FindPatch: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10610
2025-04-08 10:30:13 -04:00
Brad King 9652aa9dc3 Merge topic 'patch-UseEcos-tclsh'
8b015d2633 UseEcos: Update tclsh check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10608
2025-04-08 10:28:24 -04:00
Brad King ab2e22a3a5 Merge topic 'patch-FindOpenAL'
d77fd8391d FindOpenAL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10604
2025-04-08 10:26:36 -04:00
Brad King c472ae44b0 Merge topic 'patch-FindOpenSP'
514c4e72c9 FindOpenSP: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10605
2025-04-08 10:24:43 -04:00
Brad King df5ce35fb7 Merge topic 'patch-FindLibXml2'
923c432f08 FindLibXml2: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10603
2025-04-08 10:22:54 -04:00
Brad King 76237d47fe Merge topic 'patch-FindJasper'
2cadfaf588 FindJasper: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10602
2025-04-08 10:20:15 -04:00
Brad King e90e997546 Merge topic 'patch-FindLibinput'
7b89c35b42 FindLibinput: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10601
2025-04-08 10:18:19 -04:00
Brad King 137e81f0dc Merge topic 'patch-FindIconv'
f3c838cce8 FindIconv: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10600
2025-04-08 10:06:53 -04:00
Brad King 95f331e592 Merge topic 'patch-FindTIFF'
257d1f446a FindTIFF: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10598
2025-04-08 10:04:04 -04:00
Brad King 0033f46d97 Merge topic 'patch-FindCurses'
fb53372487 FindCurses: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10597
2025-04-08 10:00:37 -04:00
Brad King e4b02879b7 Merge topic 'patch-FindPostgreSQL'
bac580d4bc FindPostgreSQL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10596
2025-04-08 09:58:02 -04:00
Brad King 3764439189 Merge topic 'patch-FindSelfPackers'
aac3b0507f FindSelfPackers: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10595
2025-04-08 09:52:57 -04:00
Brad King 568471a7ed Merge topic 'patch-FindLATEX'
2f54621c62 FindLATEX: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10607
2025-04-08 09:47:16 -04:00
Brad King b305b5df4e Merge topic 'patch-FindOpenSSL'
44b53f8481 FindOpenSSL: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10606
2025-04-08 09:44:03 -04:00
Peter Kokot ed46adb6cf FindICU: Update documentation
- Added examples section.
- Added some basic descriptions to components.
- Variables described as done in other similar find modules.
2025-04-08 15:35:38 +02:00
Peter Kokot 44b53f8481 FindOpenSSL: Update documentation
- Added examples section.
- Synced module descriptions a bit with other find modules.
- OpenSSL_FOUND variable used. The OPENSSL_FOUND is also set by the
  find_package_handle_standard_args() to the same value.
- Described the applink interface a bit further.
2025-04-08 00:30:41 +02:00
Peter Kokot 2f54621c62 FindLATEX: Update documentation
- Added find module docs sections as in other similar find modules.
- Added examples section.
- Added CMake versions that introduced support for components and
  htlatex, pdftops, Biber, xindy, XeLaTeX, LuaLaTeX separately.
2025-04-07 22:31:30 +02:00
Peter Kokot 86ed465ee6 FindLibLZMA: Update documentation
- Module documentation synced a bit with other similar find modules.
- Added examples section.
2025-04-07 21:50:30 +02:00
Cristian Le 7566a477f7 GNUInstallDirs: Factor out helper for special absolute path logic
Factor out part of `GNUInstallDirs_get_absolute_install_dir`
into a dedicated `_GNUInstallDirs_special_absolute` helper.

Signed-off-by: Cristian Le <git@lecris.dev>
2025-04-07 14:20:43 -04:00
Brad King f88b7ade18 Merge topic 'patch-FindCups'
8344891ba7 FindCups: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10593
2025-04-07 12:21:04 -04:00
Brad King 2e865702a2 Merge topic 'patch-FindXalanC'
5aa0ce9255 FindXalanC: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10591
2025-04-07 12:19:40 -04:00
Brad King 7518a55883 Merge topic 'patch-FindGIF'
d64f7a7bb5 FindGIF: Document when GIF::GIF imported target got introduced

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10592
2025-04-07 12:14:34 -04:00
Brad King 91901679dc Merge topic 'patch-FindQuickTime'
9eeae17f32 FindQuickTime: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10589
2025-04-07 12:12:38 -04:00
Peter Kokot 0c795786d2 FindTCL, FindTclStub: Update documentation
- Modules documentation synced with other similar find modules.
- Added examples section.
- Changelog notes refactored, and removed variables described
  separately.
- FindTclStub: Changelog notes moved to FindTCL as they are more related
  to that module.
- Updated links to O'Reilly and Tcl documentation pages.
2025-04-07 16:52:12 +02:00
Peter Kokot c0896fcacb FindPHP4: Update documentation
- Synced module documentation with other similar find modules.
- Added examples section.
- Added notice that PHP 4 is not maintained anymore and newer version
  should be used.
2025-04-07 14:50:09 +02:00
Peter Kokot 8433a9e3f7 FindTclsh: Update documentation
- Added examples section
- Extended the module documentation and mentioned the wrapper FindTCL
  module.
- The Tclsh_FOUND variable used. TCLSH_FOUND is also set to the sam
  value by the find_package_handle_standard_args().
2025-04-07 03:50:46 +02:00
Peter Kokot a01b092e19 FindPatch: Update documentation
- Extended the examples section.
- Module documentation synced with other find modules a bit.
- Patch_FOUND variable used. The PATCH_FOUND is also set by the
  find_package_handle_standard_args().
2025-04-06 23:04:04 +02:00
Peter Kokot 8b015d2633 UseEcos: Update tclsh check
The FindTclsh module already outputs the result message thus the
redundant can be removed.

The Tclsh_FOUND variable used instead of TCL_TCLSH for the check.
2025-04-06 22:48:58 +02:00
Peter Kokot d77fd8391d FindOpenAL: Update documentation
- Added examples section.
- Synced module documentation a bit with other similar find modules.
- OpenAL_FOUND variable used instead of OPENAL_FOUND (both are set by
  the find_package_handle_standard_args() command).
2025-04-06 20:49:09 +02:00