Commit Graph

70719 Commits

Author SHA1 Message Date
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
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
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
Brad King
210758669e Merge topic 'FindRuby-cleanup'
c972050ff5 FindRuby: Improve logic populating MSVC runtime alternatives
cc4f7a73bd FindRuby: Improve order of library name alternatives
e99cb9e35a FindRuby: The library name on Windows uses major.minor.0 format
d703443809 FindRuby: Improve formatting of list of possible library names
120192cde7 FindRuby: Fix typos in variable names
13da6bea6e FindRuby: Generalize name of runtime candidates variable
ae1ce9048a FindRuby: Name private version variables more consistently

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10741
2025-05-15 10:01:38 -04:00
Ben Boeckel
3ac505f79d cmFindCommon: log search path variables
No pruning of variables which are not relevant is performed as it would
involve duplication of determining which paths to manage.
2025-05-15 12:24:58 +02:00
Peter Kokot
3f102a2ae3 CheckLanguage: Add intro code block
- Added intro code block showing how to include this module.
- Used "command" instead of "macro".
2025-05-15 07:25:00 +02:00
Peter Kokot
151666f523 SelectLibraryConfigurations: Add intro code block
- Added intro code block showing how to include this module.
- Used "command" instead of "macro".
2025-05-15 07:06:15 +02:00
Peter Kokot
3dcc4db1ae CMakePrintHelpers: Extend documentation
- Added intro code block showing how to include this module.
- Used "commands" instead of "functions".
- Reworded descriptions a bit.
2025-05-15 06:57:04 +02:00
Kitware Robot
5d70f07db5 CMake Nightly Date Stamp 2025-05-15 00:04:30 -04:00
Brad King
6e111c39b9 Merge branch 'release-4.0' 2025-05-14 16:38:22 -04:00
Brad King
82c1af62d6 Merge branch 'release-3.31' 2025-05-14 16:38:06 -04:00
Brad King
2794ceda81 Merge branch 'release-3.31' into release-4.0 2025-05-14 16:37:54 -04:00
Brad King
dadc015020 Merge topic 'ci-no-kwsys-console-buf' into release-3.31
16ceddc77e ci: Disable KWSys ConsoleBuf test that breaks on Windows Terminal 1.22+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10784
2025-05-14 16:36:47 -04:00
Brad King
9cb18220ef Merge branch 'release-4.0' 2025-05-14 16:36:11 -04:00
Brad King
8674fa5726 Merge topic 'ci-no-kwsys-console-buf'
552ca0fcde Merge branch 'backport-ci-no-kwsys-console-buf' into ci-no-kwsys-console-buf
16ceddc77e ci: Disable KWSys ConsoleBuf test that breaks on Windows Terminal 1.22+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10784
2025-05-14 16:36:11 -04:00
Brad King
dc59932f7f Merge topic 'ci-no-kwsys-console-buf' into release-4.0
16ceddc77e ci: Disable KWSys ConsoleBuf test that breaks on Windows Terminal 1.22+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10784
2025-05-14 16:36:08 -04:00
Brad King
552ca0fcde Merge branch 'backport-ci-no-kwsys-console-buf' into ci-no-kwsys-console-buf
The test no longer exists in post-4.0 development, so use `-s ours`
to avoid adding the exclusion.
2025-05-14 16:29:54 -04:00
Brad King
16ceddc77e ci: Disable KWSys ConsoleBuf test that breaks on Windows Terminal 1.22+
We've removed use of KWSys ConsoleBuf in post-4.0 commit 3e88020aed
(StdIo: Replace uses of KWSys ConsoleBuf with StdIo::Console,
2025-05-08).  There is no need to run its test anymore.

Windows-Terminal-Issue: https://github.com/microsoft/terminal/issues/18748
2025-05-14 15:36:11 -04:00
Brad King
3da8686d26 Merge branch 'release-4.0' 2025-05-14 15:32:31 -04:00
Brad King
37709369ff Merge branch 'release-3.31' 2025-05-14 15:32:24 -04:00
Brad King
347b88129a Merge branch 'release-3.31' into release-4.0 2025-05-14 15:32:14 -04:00
Brad King
0883fac39a Merge topic 'clang-libstdcpp-3.31' into release-3.31
802f261d62 experimental/CXXModules: recycle the UUID
c88f3ea1e4 Clang/CXXImportStd: support `-stdlib=libstdc++`
ba5c9703b1 Experimental: recycle the `import std` UUID
9cad48c6cb gcc: support `import std`
acbada3df6 Tests/RunCMake: handle C++26 support where needed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10778
2025-05-14 15:31:47 -04:00
Brad King
0c6eeb4bcc Merge branch 'release-4.0' into master 2025-05-14 15:29:14 -04:00
Brad King
ce7e988ab1 Merge topic 'clang-libstdcpp-3.31-4.0' into release-4.0
342f4e195f Merge branch 'clang-libstdcpp-3.31' into clang-libstdcpp-3.31-4.0
d26d818fa1 Merge branch 'clang-libstdcpp-3.31' into clang-libstdcpp-3.31-4.0
802f261d62 experimental/CXXModules: recycle the UUID
c88f3ea1e4 Clang/CXXImportStd: support `-stdlib=libstdc++`
ba5c9703b1 Experimental: recycle the `import std` UUID
9cad48c6cb gcc: support `import std`
acbada3df6 Tests/RunCMake: handle C++26 support where needed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10778
2025-05-14 15:29:13 -04:00
Ben Boeckel
342f4e195f Merge branch 'clang-libstdcpp-3.31' into clang-libstdcpp-3.31-4.0
* clang-libstdcpp-3.31-bp:
  experimental/CXXModules: recycle the UUID
  Clang/CXXImportStd: support `-stdlib=libstdc++`
2025-05-14 20:18:56 +02:00
Ben Boeckel
d26d818fa1 Merge branch 'clang-libstdcpp-3.31' into clang-libstdcpp-3.31-4.0
* topic 'clang-libstdcpp-3.31' (early part):
  Experimental: recycle the `import std` UUID
  gcc: support `import std`
  Tests/RunCMake: handle C++26 support where needed
2025-05-14 20:18:31 +02:00