Commit Graph

37384 Commits

Author SHA1 Message Date
Kitware Robot
9debf90d87 CMake Nightly Date Stamp 2025-04-28 00:04:05 -04:00
Kitware Robot
b73c194b98 CMake Nightly Date Stamp 2025-04-27 00:04:39 -04:00
Brad King
1cd89e65d7 Merge topic 'ci-fedora-42'
36d96ce044 ci: Drop outdated HDF5 Fortran compiler wrapper patch from Fedora jobs
5b21de16a0 ci: use Fedora 42 images and environments
efa818f661 ci: update Fedora base images to Fedora 42
585e1655c2 ci: Update cppdap in extdeps jobs
01d0f037b6 ci: Remove superuser tools from PATH in Linux jobs
8b1b201154 clang-tidy: suppress misc-redundant-expression lint on macro expansion
3d0ac2dafa clang-tidy: fix bugprone-unhandled-self-assignment lint
16455374cf Source: Suppress gcc 15 -Wmaybe-uninitialized in std::function
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10711
2025-04-26 10:00:15 -04:00
Kitware Robot
6cab79c7bb CMake Nightly Date Stamp 2025-04-26 00:04:20 -04:00
Brad King
cd7cbcc8fb Merge topic 'ctest_instrumentation_outputsizes'
2df19bec2b instrumentation: include output sizes in CTest XML

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Martin Duffy <martin.duffy@kitware.com>
Merge-request: !10712
2025-04-25 08:55:35 -04:00
Kitware Robot
3570c66d52 CMake Nightly Date Stamp 2025-04-25 00:04:27 -04:00
Zack Galbreath
2df19bec2b instrumentation: include output sizes in CTest XML 2025-04-24 11:39:45 -04:00
Brad King
8b1b201154 clang-tidy: suppress misc-redundant-expression lint on macro expansion 2025-04-24 07:56:40 -04:00
Brad King
3d0ac2dafa clang-tidy: fix bugprone-unhandled-self-assignment lint 2025-04-24 07:56:40 -04:00
Brad King
16455374cf Source: Suppress gcc 15 -Wmaybe-uninitialized in std::function
The warning is in the `std::function` implementation.
2025-04-24 07:56:39 -04:00
Brad King
b1c22bdc38 Source: Fix -Wformat warnings 2025-04-24 07:56:39 -04:00
Brad King
98bc051e3a Merge topic 'project-variable-cleanup'
c4d12d7d1f project: cleanup variable creation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10704
2025-04-24 07:14:17 -04:00
Brad King
a820819bb4 Merge topic 'update-kwsys'
251124dfe1 Merge branch 'upstream-KWSys' into update-kwsys
43effccf86 KWSys 2025-04-23 (6c76a545)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10700
2025-04-24 07:13:15 -04:00
Kitware Robot
e3e6fc0cb8 CMake Nightly Date Stamp 2025-04-24 00:05:10 -04:00
Vito Gamberini
c4d12d7d1f project: cleanup variable creation 2025-04-23 12:23:54 -04:00
Brad King
251124dfe1 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-04-23 (6c76a545)
2025-04-23 09:11:30 -04:00
Kitware Robot
ccde2db4ff CMake Nightly Date Stamp 2025-04-23 00:04:03 -04:00
Brad King
dc8ead96c2 Merge topic 'file-download-url-error'
cc2cbfc61e file: Add more context to errors from file(DOWNLOAD)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10672
2025-04-22 09:35:29 -04:00
Brad King
29b0b3d281 Merge topic 'remove-cmDynamicLoader'
b4b0d3f118 cmDynamicLoader: Remove unused code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10692
2025-04-22 09:34:02 -04:00
Kitware Robot
18e07af049 CMake Nightly Date Stamp 2025-04-22 00:04:24 -04:00
Brad King
b4b0d3f118 cmDynamicLoader: Remove unused code
It has not been used since commit dc0c6734d3 (CMP0031: Remove support
for OLD load_command command, 2024-11-26, v4.0.0-rc1~174^2~21).
2025-04-21 19:36:26 -04:00
Brad King
ebbf767b98 Merge topic 'project-command-argument-parser'
e28e66db8d project: use argument parser

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10673
2025-04-21 09:36:18 -04:00
Kitware Robot
e66e0b2cfe CMake Nightly Date Stamp 2025-04-21 00:04:16 -04:00
Kitware Robot
8bcbcff451 CMake Nightly Date Stamp 2025-04-20 00:04:16 -04:00
Kitware Robot
6c172b0e15 CMake Nightly Date Stamp 2025-04-19 00:07:12 -04:00
Martin Duffy
cc2cbfc61e file: Add more context to errors from file(DOWNLOAD) 2025-04-18 13:30:05 -04:00
Vito Gamberini
e28e66db8d project: use argument parser 2025-04-18 11:31:30 -04:00
Brad King
812fc9d8fa Merge topic 'msvc-link-i18n'
89899c3ad2 cmcmd: Simplify vs_link_{exe,dll} output encoding logic
c11c86c098 cmcmd: Clarify comment explaining vs_link_{exe,dll} output encoding

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10675
2025-04-18 10:39:38 -04:00
Kitware Robot
acc98dcd5a CMake Nightly Date Stamp 2025-04-18 00:04:07 -04:00
Brad King
89899c3ad2 cmcmd: Simplify vs_link_{exe,dll} output encoding logic
Revise commit 7e359823c9 (MSVC: Preserve linker output encoding,
2018-08-03, v3.13.0-rc1~223^2) using the approach from commit f7a5f28318
(cmake: Fix '-E cat' command for binary files on Windows, 2020-10-13,
v3.18.5~5^2).
2025-04-17 17:18:39 -04:00
Brad King
c11c86c098 cmcmd: Clarify comment explaining vs_link_{exe,dll} output encoding
Revise the comment from commit 7e359823c9 (MSVC: Preserve linker output
encoding, 2018-08-03, v3.13.0-rc1~223^2) to more clearly explain why we
need to write output using a `cmConsoleBuf` without `SetUTF8Pipes`.
2025-04-17 16:23:50 -04:00
Brad King
407363abd0 Merge topic 'argument-parser-trailing-positionals'
df870e17f5 cmArgumentParser: Implement trailing positional args

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10655
2025-04-17 10:09:34 -04:00
Brad King
e78cf73b52 Merge topic 'makefile-progress'
5781cf406f Makefile: Fix progress with non-excluded targets in excluded dirs
89ab14b05b cmGlobalGenerator: Constify IsExcluded use of cmLocalGenerator
0aabf32590 cmGeneratorExpression: Constify use of cmLocalGenerator
88f54fba43 cmLocalGenerator: Avoid unnecessary const-ness propagation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10658
2025-04-17 10:00:51 -04:00
Brad King
3cc9b88eba Merge topic 'fileapi-reply-on-failure'
0cc962665b fileapi: Generate partial reply when buildsystem generation fails
09aa968ed0 cmFileAPI: Add BuildReplyEntry wrapper around AddReplyIndexObject
5e0a644ee8 Tests/RunCMake/FileAPI: Explicitly specify expected reply index prefix
0a0bd69f4b Help: Polish cmake-file-api(7) manual

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10652
2025-04-17 09:59:20 -04:00
Kitware Robot
980b79ad1f CMake Nightly Date Stamp 2025-04-17 00:04:34 -04:00
Vito Gamberini
df870e17f5 cmArgumentParser: Implement trailing positional args 2025-04-16 14:15:48 -04:00
Brad King
74c62a180d Merge topic 'empty_elseif_warning'
2a8bc1c4aa if: Add warning when elseif has no argument

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !10643
2025-04-16 09:40:23 -04:00
Brad King
9d1a0fa256 Merge topic 'normalize-input-paths'
cd4e72ca08 Normalize PWD environment variable before using it

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10659
2025-04-16 09:37:09 -04:00
xndcn
5781cf406f Makefile: Fix progress with non-excluded targets in excluded dirs
Fixes: #26871
2025-04-16 09:04:17 -04:00
Kitware Robot
99ac7369d3 CMake Nightly Date Stamp 2025-04-16 00:07:14 -04:00
Brad King
7c15231c4f Merge topic 'update-kwsys'
c64dad3136 Merge branch 'upstream-KWSys' into update-kwsys
a48e7a6735 KWSys 2025-04-15 (83715610)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10653
2025-04-15 12:21:04 -04:00
Aliochat
2a8bc1c4aa if: Add warning when elseif has no argument
Resolves: #26442
2025-04-15 10:58:25 -04:00
Brad King
89ab14b05b cmGlobalGenerator: Constify IsExcluded use of cmLocalGenerator 2025-04-15 10:44:32 -04:00
Brad King
0aabf32590 cmGeneratorExpression: Constify use of cmLocalGenerator 2025-04-15 10:43:32 -04:00
Brad King
88f54fba43 cmLocalGenerator: Avoid unnecessary const-ness propagation 2025-04-15 10:41:32 -04:00
Brad King
c64dad3136 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-04-15 (83715610)
2025-04-15 09:55:03 -04:00
Brad King
cd4e72ca08 Normalize PWD environment variable before using it
In commit 5aed3ee49d (cmSystemTools: Add GetLogicalWorkingDirectory,
2024-10-28, v4.0.0-rc1~528^2~6) we incorrectly trusted `PWD` to be a
normalized path so long as its realpath matches the current working
directory.

Fixes: #26870
2025-04-15 09:37:08 -04:00
Brad King
6c35c9ea22 Merge topic 'LINKER_FLAGS-CMP0181-OLD'
2e9648e0de Ninja generator: restore correct encoding for policy CMP0181=OLD

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10645
2025-04-15 09:36:40 -04:00
Kitware Robot
05e77b8a27 CMake Nightly Date Stamp 2025-04-15 00:04:11 -04:00
Brad King
0cc962665b fileapi: Generate partial reply when buildsystem generation fails
In particular, the `configureLog` reply is useful for IDEs to read
`CMakeFiles/CMakeConfigureLog.yaml` when configuration fails.

Fixes: #26621
2025-04-14 10:42:03 -04:00