Commit Graph

70743 Commits

Author SHA1 Message Date
Peter Kokot 1afdd98ca3 CheckTypeSize: Update documentation
- Added intro code block showing how to include this module.
- Used "command" instead of "macro".
- Described the command arguments in a list separately.
- Refactored some descriptions.
- Added a rubric title for variables that affect the check.
2025-05-20 23:35:18 +02:00
Brad King 27f375d514 Merge branch 'release-4.0' 2025-05-20 10:47:04 -04:00
Brad King 32d33956a0 Merge branch 'release-3.31' 2025-05-20 10:46:56 -04:00
Brad King 149b5830b6 Merge branch 'release-3.31' into release-4.0 2025-05-20 10:46:45 -04:00
Brad King dd8403d36d Merge branch 'release-4.0' 2025-05-20 10:45:32 -04:00
Brad King 2d7a0605f2 Merge topic 'Python3.14-support'
41a4a32135 FindPython: Avoid implicit link library on Windows
811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10800
2025-05-20 10:45:32 -04:00
Brad King 7092720db5 Merge topic 'Python3.14-support' into release-4.0
41a4a32135 FindPython: Avoid implicit link library on Windows
811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10800
2025-05-20 10:45:29 -04:00
Brad King 42e46a7013 Merge topic 'Python3.14-support' into release-3.31
41a4a32135 FindPython: Avoid implicit link library on Windows
811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10800
2025-05-20 10:28:24 -04:00
Marc Chevrier 41a4a32135 FindPython: Avoid implicit link library on Windows
Starting with version 3.14, on Windows, by specifying macro Py_NO_LINK_LIB,
the python library is no longer implicitly specified at the link step.

Fixes: #26756
2025-05-20 09:16:14 -04:00
Marc Chevrier 811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile
Starting with Python 3.14, the config_var ABIFLAGS is now also available
on Windows.
2025-05-20 09:16:14 -04:00
Brad King edb80c068b Merge topic 'find-package-event-providers'
3d60b0ba1d configure-log: fill in dependency provider information

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10785
2025-05-20 09:13:36 -04:00
Brad King 7c7460130a Merge topic 'patch-CheckStructHasMember'
c9956e777c CheckStructHasMember: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10798
2025-05-20 09:06:42 -04:00
Brad King 01901478a8 Merge topic 'patch-CTestCoverageCollectGCOV'
45db842032 CTestCoverageCollectGCOV: Extend documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10797
2025-05-20 09:04:35 -04:00
Brad King 4882400b87 Merge topic 'patch-CheckPrototypeDefinition'
20f4ef1f1b CheckPrototypeDefinition: Add intro code block

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10794
2025-05-20 09:02:29 -04:00
Brad King e711538aca Merge topic 'patch-CheckIPOSupported'
294b30b27e CheckIPOSupported: Extend documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10796
2025-05-20 09:00:16 -04:00
Brad King c0b66322dc Merge topic 'patch-CMakeBackwardCompatibilityCXX-intro-code-blocks'
26dd965037 CMakeBackwardCompatibilityCXX: Add intro code blocks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10795
2025-05-20 08:54:58 -04:00
Brad King 82a068911c Merge topic 'doc-find_library-vars'
d27e0eff14 Help: Document when CMAKE_FIND_LIBRARY_{PREFIXES,SUFFIXES} are provided

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10801
2025-05-20 08:52:22 -04:00
Brad King 54e775cf22 Merge topic 'stdio-terminal'
a61c60edae Merge branch 'upstream-KWSys' into stdio-terminal
bbe52677df KWSys 2025-05-20 (7e1ee2d9)
d7dbfa22a1 cmSystemTools: Drop unused MakefileColorEcho function
509c424472 StdIo: Replace uses of KWSys Terminal with StdIo::Print
329d755dbd StdIo: Add a Terminal abstraction to print color text
03c97133e8 Makefile: De-duplicate dependency message color code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10779
2025-05-20 08:40:19 -04:00
Brad King a61c60edae Merge branch 'upstream-KWSys' into stdio-terminal
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-05-20 (7e1ee2d9)
2025-05-20 08:23:20 -04:00
KWSys Upstream bbe52677df KWSys 2025-05-20 (7e1ee2d9)
Code extracted from:

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

at commit 7e1ee2d997e1d8de471b8eb7acbd930db07d38ef (master).

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

Brad King (1):
      0f8eeb90 Terminal: Remove this component of KWSys
2025-05-20 08:23:19 -04:00
Kitware Robot e0c747887e CMake Nightly Date Stamp 2025-05-20 00:04:45 -04:00
Brad King d27e0eff14 Help: Document when CMAKE_FIND_LIBRARY_{PREFIXES,SUFFIXES} are provided
Issue: #26943
2025-05-19 12:26:27 -04:00
Brad King 85cd454c91 Merge topic 'patch-CheckLanguage'
3f102a2ae3 CheckLanguage: Add intro code block

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10788
2025-05-19 09:21:59 -04:00
Brad King 86aa467bca Merge topic 'patch-SelectLibraryConfigurations'
151666f523 SelectLibraryConfigurations: Add intro code block

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10787
2025-05-19 09:00:18 -04:00
Brad King ecc4c3bdd9 Merge topic 'patch-CMakePrintHelpers'
3dcc4db1ae CMakePrintHelpers: Extend documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10786
2025-05-19 08:46:34 -04:00
Brad King 1c40d2e6e1 Merge topic 'ctest-getdate'
458664a727 cmCTest: Avoid dependence on curl for non-network operation
d7990d20b5 cmCTest: Clarify nightly start time construction logic

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10789
2025-05-19 08:45:31 -04:00
Brad King b91a376350 Merge topic 'configure-log-find-foo-fixes'
3ac505f79d cmFindCommon: log search path variables
e98381af21 cmFindBase: skip writing `names` and `*_directories` when empty

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10772
2025-05-19 08:31:17 -04:00
Brad King db4e27eb64 Merge topic 'per-target-license-info'
df3e246bc1 export: Import/export target property for license

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10424
2025-05-19 08:29:12 -04:00
Brad King 61572eef3d Merge topic 'enum_set-static-const'
2647d97ab7 cmext/enum_set: Fix static default construction on older AppleClang versions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10792
2025-05-19 08:21:03 -04:00
Brad King d7dbfa22a1 cmSystemTools: Drop unused MakefileColorEcho function 2025-05-19 08:19:20 -04:00
Brad King 509c424472 StdIo: Replace uses of KWSys Terminal with StdIo::Print
The latter:

* uses a type-safe representation of text attributes,

* works with `StdIo::Console` to print arbitrary UTF-8 text in color, and

* writes VT100 sequences to Windows Consoles when supported, eliminating
  racy console text attribute changes in parallel `make` output.

Fixes: #22450, #26689, #26924
2025-05-19 08:19:10 -04:00
Brad King 329d755dbd StdIo: Add a Terminal abstraction to print color text
Abstract over VT100 sequences and Windows Console text attributes.

This will replace KWSys Terminal, which does not integrate with C++
streams.

Issue: #26924
2025-05-19 08:16:56 -04:00
Kitware Robot 1c1b406f35 CMake Nightly Date Stamp 2025-05-19 00:04:40 -04:00
Peter Kokot c9956e777c CheckStructHasMember: Update documentation
- Added intro code block showing how to include this module.
- Used "command" instead of "macro".
- Reworded descriptions a bit.
- Extended examples section showing how to check struct members in C and
  C++. Added additional example showing how to use
  CMAKE_REQUIRED_DEFINITIONS variable.
2025-05-19 02:39:54 +02:00
Peter Kokot 45db842032 CTestCoverageCollectGCOV: Extend documentation
- Added intro code block showing how to include this module.
- Used "command" instead of "function".
- Reworded descriptions a bit.
- Synced arguments names and style.
2025-05-19 00:29:04 +02:00
Peter Kokot 20f4ef1f1b CheckPrototypeDefinition: Add intro code block
- Added intro code block showing how to include this module.
- Used word "command" instead of "function".
- Added a rubric title for variables that affect the check.
- Synced module docs.
2025-05-19 00:22:32 +02:00
Peter Kokot 294b30b27e CheckIPOSupported: Extend documentation
- Added intro code block showing how to include this module.
- Added brief description about IPO and LTO and how it is enabled in
  CMake.
- Used "command" instead of "function".
- Reworded few descriptions.
- Synced indentation for items related to the command section.
- Added "See Also" sections to related target properties and variables.
2025-05-18 23:56:31 +02:00
Peter Kokot 26dd965037 CMakeBackwardCompatibilityCXX: Add intro code blocks
This is mainly a sync with other CMake modules for consistency:
- Added intro code blocks showing how to include the modules.
- Adjusted examples sections.
- Added "See Also" sections.
2025-05-18 19:30:42 +02:00
Kitware Robot e33692e625 CMake Nightly Date Stamp 2025-05-18 00:04:31 -04:00
Kitware Robot f31923e838 CMake Nightly Date Stamp 2025-05-17 00:04:23 -04:00
Brad King 03c97133e8 Makefile: De-duplicate dependency message color code 2025-05-16 15:06:24 -04:00
Brad King 2647d97ab7 cmext/enum_set: Fix static default construction on older AppleClang versions
AppleClang 8.0 and below do not understand a `= default;` constructor
in static constant default initialization, but do accept `{}`.
2025-05-16 15:03:32 -04:00
Kitware Robot 18f6e2af4f CMake Nightly Date Stamp 2025-05-16 00:04:54 -04:00
Brad King 458664a727 cmCTest: Avoid dependence on curl for non-network operation
Use the date parser from libarchive instead.

Issue: #26930
2025-05-15 10:59:51 -04:00
Brad King d7990d20b5 cmCTest: Clarify nightly start time construction logic 2025-05-15 10:59:51 -04:00
Brad King ee92f1eef0 Merge topic 'patch-ProcessorCount'
7660e97e99 ProcessorCount: Add intro code block with include()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10781
2025-05-15 10:38:52 -04:00
Brad King aaefff1461 Merge topic 'fix-warn-of-not-relocatable'
4244f704b4 CPack/RPM: Fix warn of not relocatable path

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10776
2025-05-15 10:37:23 -04:00
Brad King 069b244f3d Merge topic 'doc-genex-JOIN'
ad1d9507ba Help: Fix JOIN generator expression syntax example

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10777
2025-05-15 10:27:28 -04:00
Brad King bb616fb576 Merge topic 'patch-check-variables'
7cfc111df3 Help: Update CMAKE_REQUIRED_* variables for checks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10782
2025-05-15 10:23:56 -04:00
Brad King e4ad9548cb Merge topic 'patch-UseEcos'
56d55c88cc UseEcos: Extend documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10780
2025-05-15 10:18:11 -04:00