Commit Graph

70709 Commits

Author SHA1 Message Date
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
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 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 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
Ben Boeckel 802f261d62 experimental/CXXModules: recycle the UUID
Now that `clang -stdlib=libstdc++` is supported.

(cherry picked from commit 52e2785018 (experimental/CXXModules: recycle
the UUID, 2025-04-30))
2025-05-14 20:15:57 +02:00
Ben Boeckel c88f3ea1e4 Clang/CXXImportStd: support -stdlib=libstdc++
Fedora 42 ships `clang` with `libstdc++` as the default. Detect and
support `import std;` in this configuration.
2025-05-14 20:15:26 +02:00
Ben Boeckel ba5c9703b1 Experimental: recycle the import std UUID
Now that GCC is supported, update the feature UUID.

(cherry picked from commit 469175c2e6 (Experimental: recycle the `import
std` UUID, 2024-11-21))
2025-05-14 20:15:10 +02:00
Ben Boeckel 9cad48c6cb gcc: support import std
(cherry picked from commit a980dab9b1 (gcc: support `import std`,
2024-11-21))
2025-05-14 20:14:44 +02:00
Peter Kokot 56d55c88cc UseEcos: Extend documentation
- Added intro code block showing how to load this module.
- Synced descriptions.
- Used "commands" instead of "macros".
- Added example description.
2025-05-14 18:44:38 +02:00
Peter Kokot 7cfc111df3 Help: Update CMAKE_REQUIRED_* variables for checks
This moves indentation of the included RST files to the initial level
and instead indents the include directives where used.

Additionally:
- Instead of ";-list", "semicolon-separated list" is used.
- Instead of mentioning `<resultVar>` argument, a more general
  description is used.
- Few minor tweaks added.
2025-05-14 18:37:05 +02:00
Peter Kokot 7660e97e99 ProcessorCount: Add intro code block with include()
- Added intro code block showing how to include this module in CMake.
- Used "command" instead of "function".
- Synced descriptions a bit.
2025-05-14 18:23:42 +02:00
Brad King c4b4e26019 Merge topic 'stdio-console'
ce6b0f9e10 ci: Drop unused build artifact
7cf81cdb04 Merge branch 'upstream-KWSys' into stdio-console
ad2d94cb9d KWSys 2025-05-14 (1d72955e)
40b0db5ffb cmConsoleBuf: Remove unused infrastructure
57b24e8fef StdIo: Init() automatically in Console()
3e88020aed StdIo: Replace uses of KWSys ConsoleBuf with StdIo::Console
f9f1f9a8cd StdIo: Add a Windows Console adaptor for cin, cout, and cerr

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10769
2025-05-14 10:11:23 -04:00
Ben Boeckel acbada3df6 Tests/RunCMake: handle C++26 support where needed
(cherry picked from commit 2791b7564b (Tests/RunCMake: handle C++26
support where needed, 2024-12-31, v4.0.0-rc1~238^2~3))
2025-05-14 15:39:12 +02:00
xndcn ad1d9507ba Help: Fix JOIN generator expression syntax example
Fix syntax of the JOIN generator expression example,
from `$<JOIN,list,glue>` to `$<JOIN:list,glue>`.
2025-05-14 09:31:26 -04:00