Commit Graph

68926 Commits

Author SHA1 Message Date
Brad King 765eb70fa0 Merge topic 'cpack-tar'
09d5a4d7f0 CPack: add uncompressed TAR support
9d4be239b2 Help: Improve CPack Archive generator format list layout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10265
2025-02-01 07:16:43 -05:00
Brad King 9bc8dacf2f Merge topic 'FindRuby-debug'
8d1f9e5408 FindRuby: Port debug output to message(DEBUG)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10263
2025-02-01 07:15:34 -05:00
Kitware Robot 05627bffbc CMake Nightly Date Stamp 2025-02-01 00:09:00 -05:00
Johnny Jazeix 09d5a4d7f0 CPack: add uncompressed TAR support
Fixes: #26646
2025-01-31 10:11:32 -05:00
Brad King 9d4be239b2 Help: Improve CPack Archive generator format list layout 2025-01-31 10:09:56 -05:00
Charlie Savage 8d1f9e5408 FindRuby: Port debug output to message(DEBUG) 2025-01-31 09:07:19 -05:00
Brad King f28d76aeb4 Merge topic 'module-include-fphsa'
7afa58b15d Modules/Find*: Include FindPackageHandleStandardArgs normally

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10257
2025-01-31 09:01:18 -05:00
Brad King 13cb4913c5 Merge topic 'ci-cuda-12.6'
7f1250ca68 ci: Drop redundant job testing cuda12.2 with nvcc -ccbin=clang++-18
1ffa199c55 ci: add jobs testing cuda12.6 with nvcc and clang 18
07ddceea84 ci: add cuda12.6 base image

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10261
2025-01-31 09:00:26 -05:00
Kitware Robot f0cc688c10 CMake Nightly Date Stamp 2025-01-31 00:06:36 -05:00
Brad King 7f1250ca68 ci: Drop redundant job testing cuda12.2 with nvcc -ccbin=clang++-18
It has been superseded by an equivalent job with cuda12.6,
which does not need `--allow-unsupported-compiler`.
2025-01-30 12:00:33 -05:00
Brad King 1ffa199c55 ci: add jobs testing cuda12.6 with nvcc and clang 18 2025-01-30 09:34:41 -05:00
Brad King 07ddceea84 ci: add cuda12.6 base image 2025-01-30 09:31:09 -05:00
Brad King 7afa58b15d Modules/Find*: Include FindPackageHandleStandardArgs normally
Since commit d74210a8bd (CMP0017: Remove support for OLD behavior,
2024-11-17) we can rely on CMP0017's NEW behavior unconditionally.
Calling `include(FindPackageHandleStandardArgs)` in a builtin module
will always get the builtin `FindPackageHandleStandardArgs`.
2025-01-30 08:53:12 -05:00
Brad King 78bc455454 Merge topic 'update-kwsys'
768f2e00b3 Merge branch 'upstream-KWSys' into update-kwsys
7342114155 KWSys 2025-01-30 (936c606c)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10260
2025-01-30 08:51:07 -05:00
Brad King 3a93def224 Merge topic 'issue_FindPython_SABI'
1995557885 FindPython : fix a misspelled variable name in __python_import_library macro.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10255
2025-01-30 08:49:17 -05:00
Brad King 3e64c6a56e Merge topic 'msvc-runtime-checks'
2b2344b412 MSVC: Add abstraction for runtime checks
49dcd1ce5d Help: Fix MSVC_DEBUG_INFORMATION_FORMAT description of example
2f8e643d9d CMP0141: Fix documentation copied from CMP0091

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !10214
2025-01-30 08:48:01 -05:00
Brad King 0870e6c06b Merge topic 'enum_set-enhancements'
35dafcb5a1 cmext/enum_set: add various enhancements to increase usability
a3ae58c9c5 C++ features: add cm::is_scoped_enum from C++23

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10248
2025-01-30 08:44:35 -05:00
Brad King a832d31474 Merge topic 'cmake_sarif_output'
abbe41578d cmake: Add SARIF diagnostics output support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !10139
2025-01-30 08:43:11 -05:00
Brad King 892204764f Merge topic 'help-code-block'
9890cfc4ec Help: More syntax highlighting for literal blocks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10258
2025-01-30 08:41:16 -05:00
Brad King a9e201677b Merge topic 'FindRuby-formatting'
64e4b4c638 FindRuby: Reformat code so it is consistent

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10256
2025-01-30 08:38:47 -05:00
Brad King 768f2e00b3 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-01-30 (936c606c)
2025-01-30 06:53:36 -05:00
KWSys Upstream 7342114155 KWSys 2025-01-30 (936c606c)
Code extracted from:

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

at commit 936c606c086f2e9bf045a03f4d8b61a779001d4d (master).

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

Peter Kokot (1):
      08b9f90d Use lower case style for CMake commands
2025-01-30 06:53:36 -05:00
Kitware Robot 0c3f99d3fd CMake Nightly Date Stamp 2025-01-30 00:09:10 -05:00
Nikita Nemkin 9890cfc4ec Help: More syntax highlighting for literal blocks
Covers almost all blocks containing actual code, except:

* Parsed-literal blocks can't be highlighted, including many command
  summaries and substitution-heavy docs like find_... commands.
  This is a Sphinx limitation.

* Code with errors, like CMP0049, DEPLOYMENT_ADDITIONAL_FILES,
  DEPLOYMENT_REMOTE_DIRECTORY, @PACKAGE_INIT@ substitution in the
  tutorial, bracket arguments/comments in cmake-language.7 and
  cmake-developer.7.

* FindQt4 module, which needs reformatting.
2025-01-29 16:48:53 -05:00
Charlie Savage 64e4b4c638 FindRuby: Reformat code so it is consistent 2025-01-29 10:29:16 -08:00
AJIOB 2b2344b412 MSVC: Add abstraction for runtime checks
Replace our hard-coded default for `/RTC1` with a first-class
abstraction to select runtime checks from an enumeration of logical
names.  Add a `MSVC_RUNTIME_CHECKS` target property and corresponding
`CMAKE_MSVC_RUNTIME_CHECKS` variable.

Removing the old default flag requires a policy because existing
projects may rely on string processing to edit them and choose
runtime checks under the old behavior.  Add policy CMP0184 to
provide compatibility.

Fixes: #26614
2025-01-29 13:07:41 -05:00
Brad King e806a490b6 Merge topic 'update-kwsys'
10742bb679 Merge branch 'upstream-KWSys' into update-kwsys
1f29e3eaf5 KWSys 2025-01-29 (6f535da1)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10247
2025-01-29 11:43:21 -05:00
Brad King baeaffd79f Merge topic 'windows-longPathAware'
329643556d Windows: Enable longPathAware for cmake binaries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10249
2025-01-29 11:38:56 -05:00
Brad King ec7cc80370 Merge topic 'patch-lower-case-style'
4e6a13f211 Use lower case style for commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !10245
2025-01-29 11:37:51 -05:00
Brad King e509c0a423 Merge topic 'patch-else'
9f2efc3270 Remove optional arguments from else() and end*() commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !10243
2025-01-29 11:35:30 -05:00
Brad King bc137d6225 Merge topic 'compile_only_genex_support_object_libraries'
c87004fdc3 COMPILE_ONLY: Genex now stops object libraries from linking

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !10240
2025-01-29 11:34:08 -05:00
Brad King fbb69f867c Merge topic 'FindCURL-version-var'
d039da1c24 FindCURL: Add CURL_VERSION variable to match upstream cmake package

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10250
2025-01-29 11:32:39 -05:00
Brad King 377707d271 Merge topic 'rbenv_support'
ef2c3ca828 FindRuby: Add rbenv support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10100
2025-01-29 11:31:09 -05:00
Brad King 3a87c673cd Merge topic 'patch-BundleUtilities'
3209f2b0e7 BundleUtilities: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10242
2025-01-29 11:29:23 -05:00
Brad King dcba8463ac Merge branch 'release-3.31' 2025-01-29 11:27:42 -05:00
Brad King 8bbb8fd8b6 Merge topic 'ci-cmake-update'
64e4f036d5 ci: Update CMake version to 3.31.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10252
2025-01-29 11:27:41 -05:00
Brad King cc434d67ce Merge topic 'ci-cmake-update' into release-3.31
64e4f036d5 ci: Update CMake version to 3.31.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10252
2025-01-29 11:27:40 -05:00
Brad King a1c96f95fc Merge topic 'fix-spelling-typo-found-by-codespell-2.4'
7d4086d239 codespell: Fix one more typo found by version 2.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10246
2025-01-29 11:25:59 -05:00
Marc Chevrier 35dafcb5a1 cmext/enum_set: add various enhancements to increase usability 2025-01-29 16:42:52 +01:00
KWSys Upstream 1f29e3eaf5 KWSys 2025-01-29 (6f535da1)
Code extracted from:

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

at commit 6f535da17dc3f439216b87a4f5dae8f7d613e6c0 (master).

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

Brad King (2):
      a298a4aa Process: Suppress PID conversion warning
      8142980e Process: Revert "Add function to get parent PID"

Martin Duffy (2):
      fda58f27 Process.h.in: Add missing undef for Process_KillPID
      9727dfdb ProcessUNIX: Add function to get parent PID

Nikita Nemkin (3):
      46fc21ef RegularExpression: Remove redundant overloads
      d022423b RegularExpression: Add a method to query the number of capture groups
      c8f5f4bf RegularExpression: Add an options parameter to find()

Sean McBride (1):
      3489e4a2 Encoding: Reformulate to avoid unsigned int overflow
2025-01-29 09:03:39 -05:00
Brad King 10742bb679 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-01-29 (6f535da1)
2025-01-29 09:03:39 -05:00
Daniel Tierney abbe41578d cmake: Add SARIF diagnostics output support
Closes: #26587
2025-01-29 08:43:19 -05:00
Kitware Robot 35fc696c80 CMake Nightly Date Stamp 2025-01-29 00:06:59 -05:00
Mathieu Flament 1995557885 FindPython : fix a misspelled variable name in __python_import_library macro.
As a result, the IMPORTED_LOCATION_RELEASE property of the SABIModule target was empty, instead of pointing to the Python runtime library for the Stable Application Binary Interface.
2025-01-29 01:09:17 +01:00
Peter Kokot 4e6a13f211 Use lower case style for commands
Where possible this syncs the CS for command names:

- check_c_source_compiles()
- check_cxx_compiler_flag()
- check_cxx_source_compiles()
- check_cxx_symbol_exists()
- check_include_file_cxx()
- check_include_file()
- check_include_files()
- check_library_exists()
- check_source_compiles()
- check_struct_has_member()
- check_symbol_exists()
- check_type_size()
- cmake_dependent_option()
- cmake_parse_arguments()
- feature_summary()
- file()
- find_package_handle_standard_args()
- if(), endif...
- install(FILES)
- list()
- message()
- pkg_check_modules()
- select_library_configurations()
- set_package_info()
- test_big_endian()
2025-01-28 13:51:46 -05:00
Morten Engelhardt Olsen 329643556d Windows: Enable longPathAware for cmake binaries
Most of CMake's file-system accesses already use UNC encoded paths to
avoid the Maximum Path Length Limitation [1].  Enable `longPathAware` in
the manifest so Windows APIs like `GetCurrentDirectoryW` can also exceed
`MAX_PATH`.

[1] https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#functions-without-max_path-restrictions

Issue: #25936
2025-01-28 13:40:29 -05:00
Marc Chevrier a3ae58c9c5 C++ features: add cm::is_scoped_enum from C++23 2025-01-28 17:52:36 +01:00
Brad King 0bd26d4527 Merge topic 'patch-load-cache-export'
477737b7bf load_cache: Add note about export()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10244
2025-01-28 10:50:38 -05:00
Brad King 64e4f036d5 ci: Update CMake version to 3.31.5 2025-01-28 10:35:14 -05:00
Robert Maynard c87004fdc3 COMPILE_ONLY: Genex now stops object libraries from linking
Previously we didn't properly exclude $<COMPILE_ONLY:OBJECT lib>
from the right hand side of  `target_link_libraries`.

Fix the update that commit 73337cb383 (LINK_LIBRARIES: Evaluate
separately for linking and usage requirements, 2022-03-22,
v3.24.0-rc1~404^2~2) made to `AddObjectEntries`.

Fixes: #26642
2025-01-28 10:01:00 -05:00