Commit Graph

68881 Commits

Author SHA1 Message Date
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
Kitware Robot
35fc696c80 CMake Nightly Date Stamp 2025-01-29 00:06:59 -05: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
Peter Kokot
3209f2b0e7 BundleUtilities: Update documentation
* Updated warnings at the top to a note
* The provided functions are described as titled items and have code
  blocks added
* Added missing documentation for the `get_item_rpaths()` function
* Added `IGNORE_ITEM` option to relevant signatures
2025-01-28 15:45:47 +01:00
Peter Kokot
477737b7bf load_cache: Add note about export()
The export() command can be a better option when outside project can be
adjusted in such way.
2025-01-28 15:22:29 +01:00
Brad King
aeff709a27 Merge topic 'patch-load-cache-script-mode'
18ae68a97c load_cache: Mention script mode support (-P)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10241
2025-01-28 09:19:58 -05:00
Brad King
8d869546bb Merge branch 'release-3.31' 2025-01-28 08:42:29 -05:00
Brad King
00471550de Merge topic 'GoogleTest-variable-expansion'
c7884ceefa GoogleTest: Restore support for spaces in explicit WORKING_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10192
2025-01-28 08:42:28 -05:00
Brad King
2295d665f7 Merge topic 'GoogleTest-variable-expansion' into release-3.31
c7884ceefa GoogleTest: Restore support for spaces in explicit WORKING_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10192
2025-01-28 08:42:27 -05:00
Brad King
ca7aab97fd Merge topic 'update-kwsys'
94902cd03c Merge branch 'upstream-KWSys' into update-kwsys
891e4d5418 KWSys 2025-01-27 (2fbdf7e5)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10239
2025-01-28 08:41:27 -05:00
Brad King
6eb7a927e1 Merge topic 'fileapi-reply-path-length'
1ae7497b6a fileapi: Restrict reply object file path lengths

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9720
2025-01-28 08:40:06 -05:00
Alex Turbov
7d4086d239 codespell: Fix one more typo found by version 2.4
Was missed in the MR 10236 ;-(
2025-01-28 17:39:03 +04:00
Brad King
d6a7a83700 Merge topic 'fix-typos-found-by-pygrep-hooks'
bc4c71627a Help: Fix typos found by the `rst-backticks` hook
c833629508 Help: Fix typos found by the `rst-directive-colons` hook

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10237
2025-01-28 08:35:19 -05:00
Brad King
1a4170d33c Merge topic 'fix-cmStrCat-and-to_string'
d34971f455 Refactor: Eliminate redundant `std::to_string` as arg of `cmStrCat`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10234
2025-01-28 08:31:35 -05:00
Brad King
38a9ff8b44 Merge topic 'pre-commit'
b83c5b2c83 pre-commit: Add `pygrep-hooks` repo and 3 hooks to check RST files
abe46bf9e1 pre-commit: Add the `clang-format` hook
8f4dd0558e pre-commit: Add the `typos` hook for extra spellchecking
54eba3a42a pre-commit: Add the `codespell` hook
244e3d314c pre-commit: Add the `sphinx-lint` hook
efa7c6aedf pre-commit: Add a hook to check whitespaces and conflict markers
2c06b9f429 pre-commit: Add a hook to fix missed EOL at the end of files
1861948755 pre-commit: Add a hook to check JSON files
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10143
2025-01-28 08:28:38 -05:00
Brad King
0e0fc63bd8 Merge topic 'codespell'
d2752135cb codespell: Fix typos found by version 2.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10236
2025-01-28 08:25:51 -05:00
Kitware Robot
80e86f6d13 CMake Nightly Date Stamp 2025-01-28 00:06:17 -05:00
cfis
ef2c3ca828 FindRuby: Add rbenv support 2025-01-27 20:36:06 -05:00
Peter Kokot
18ae68a97c load_cache: Mention script mode support (-P)
When using the relevant load_cache(READ_WITH_PREFIX) signature, it also
works in script mode (cmake -P ...), unlike the 2nd obsolete signature.
2025-01-28 00:59:50 +01:00
Ihor Sofiichenko
c7884ceefa GoogleTest: Restore support for spaces in explicit WORKING_DIRECTORY
Revise commit fc7aa3cd69 (tests: Preserve empty arguments in test
command lines, 2024-09-30, v3.31.0-rc1~33^2) to delay variable expansion
until code evaluation.  Otherwise we may parse the working directory
path as CMake language code.
2025-01-27 12:04:41 -05:00
Brad King
59113292b2 Merge topic 'install-parallel-doc-fix'
f1a80380ae Help: Improve language in INSTALL_PARALLEL doc

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10238
2025-01-27 11:21:49 -05:00
Brad King
3ffac3063d Merge topic 'doc-policy-deprecation-schedule'
3e0720a2ae Help: Add cmake_minimum_required(VERSION) example to cmake-policies(7)
085de39879 Help: Document policy transition schedule in cmake-policies(7)
60e302a539 Help: Drop policy scope from cmake-policies(7)
3b926b32e3 Help: Drop CMAKE_MINIMUM_REQUIRED_VERSION from cmake-policies(7)
ec9e5feb93 Help: Organize cmake-policies(7) by supported and unsupported policies
6be0fe22be Help: Mention CMAKE_POLICY_DEFAULT_CMP<NNNN> in cmake_minimum_required

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10222
2025-01-27 11:18:46 -05:00
Alex Turbov
d2752135cb codespell: Fix typos found by version 2.4 2025-01-27 10:55:58 -05:00
Brad King
3e0720a2ae Help: Add cmake_minimum_required(VERSION) example to cmake-policies(7) 2025-01-27 10:35:04 -05:00
Brad King
085de39879 Help: Document policy transition schedule in cmake-policies(7)
Rewrite the introduction of the manual to focus on policies' role in
evolution of CMake and how projects should be updated to account for
them over time.

Issue: #26613
2025-01-27 10:35:04 -05:00
Brad King
60e302a539 Help: Drop policy scope from cmake-policies(7)
The policy stack is covered by the `cmake_policy`, `include`, and
`find_package` command documentation.  Avoid distracting readers with
such details in the main policy introduction.
2025-01-27 10:35:04 -05:00
Brad King
3b926b32e3 Help: Drop CMAKE_MINIMUM_REQUIRED_VERSION from cmake-policies(7)
The variable has little role with respect to policies, particularly
since introduction of the `...<policy_max>` syntax.  Furthermore,
any role it may have is primarily in CMake's own modules.
2025-01-27 10:35:04 -05:00
Brad King
ec9e5feb93 Help: Organize cmake-policies(7) by supported and unsupported policies 2025-01-27 10:34:56 -05:00
Brad King
084f6055a8 Merge topic 'patch-CMAKE_OBJDUMP'
dc7aabf4d0 Help: Document CMAKE_OBJDUMP variable
4bd3519e89 CPack: Avoid mentioning internal CMake module in documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10224
2025-01-27 10:30:58 -05:00
Brad King
304f086b71 Merge topic 'doc-cmake_host_system_information-OS_NAME'
ff11a95962 Help: Clarify cmake_host_system_information OS_NAME

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Nicole Mazzuca <nicole.mazzuca@remarkable.no>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !10232
2025-01-27 10:26:33 -05:00
Brad King
16f9016605 Merge topic 'help-json'
7be01178a0 Help: JSON argument should be quoted

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10231
2025-01-27 10:24:45 -05:00
Brad King
f0293e86c8 Merge topic 'linker-configuration'
3d2709c1ae Linker configuration: rely now on CMAKE_<LANG>_LINK_MODE variable.
0ba67171d9 Extend CMAKE_<LANG>_LINK_MODE support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10223
2025-01-27 10:23:35 -05:00
Brad King
94902cd03c Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-01-27 (2fbdf7e5)
2025-01-27 10:19:43 -05:00
KWSys Upstream
891e4d5418 KWSys 2025-01-27 (2fbdf7e5)
Code extracted from:

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

at commit 2fbdf7e5206f78f70a9effeaa8cfb4911fbe5727 (master).

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

Nikita Nemkin (2):
      98452164 RegularExpression: Add an optional offset parameter to find()
      0359bfbc RegularExpression: Fix match start/end values of unmatched groups
2025-01-27 10:19:43 -05:00
Martin Duffy
f1a80380ae Help: Improve language in INSTALL_PARALLEL doc
Remove unneeded comma, clarify and link reference to Ninja generators, and substitute ``ON`` for enabled.
2025-01-27 09:41:59 -05:00
Stefan Wüthrich
1ae7497b6a fileapi: Restrict reply object file path lengths
Fixes: #23389
2025-01-27 09:49:19 +01:00
Kitware Robot
24a6891065 CMake Nightly Date Stamp 2025-01-27 00:08:14 -05:00
Alex Turbov
b83c5b2c83 pre-commit: Add pygrep-hooks repo and 3 hooks to check RST files 2025-01-27 02:06:56 +04:00
Alex Turbov
bc4c71627a Help: Fix typos found by the rst-backticks hook
The corresponding `pre-commit` configuration is coming in the
separate MR.

Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
2025-01-27 01:43:26 +04:00
Alex Turbov
c833629508 Help: Fix typos found by the rst-directive-colons hook
The corresponding `pre-commit` configuration is coming in the
separate MR.

Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
2025-01-27 01:00:46 +04:00
Marc Chevrier
3d2709c1ae Linker configuration: rely now on CMAKE_<LANG>_LINK_MODE variable.
CMake now provides the CMAKE_<LANG>_LINK_MODE variable which specify how
the link step is done. So, the CMAKE_<LANG>_USING_LINKER_MODE variable
is no longer needed.
2025-01-26 14:45:21 +01:00
Marc Chevrier
0ba67171d9 Extend CMAKE_<LANG>_LINK_MODE support
* Add CMAKE_Swift_LINK_MODE
* Ensure correct definition for various clang usages on Windows
2025-01-26 14:45:21 +01:00
Kitware Robot
2eff8c0b15 CMake Nightly Date Stamp 2025-01-26 00:07:33 -05:00
Alex Turbov
abe46bf9e1 pre-commit: Add the clang-format hook
The hook version is the same as the `.clang-format` config file.
2025-01-26 05:43:33 +04:00