Kitware Robot
3570c66d52
CMake Nightly Date Stamp
2025-04-25 00:04:27 -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
Brad King
09aa968ed0
cmFileAPI: Add BuildReplyEntry wrapper around AddReplyIndexObject
2025-04-14 09:34:22 -04:00
Brad King
ee24bb6a6f
Merge topic 'cmake-parent-list-file'
...
a9ea55f0d7 Fix CMAKE_PARENT_LIST_FILE after return from include() or find_package()
41708398eb cmMakefile: Factor out base class for list file scope RAII
ce8be3da80 cmMakefile: De-duplicate CMAKE_CURRENT_LIST_FILE variable names
0b85f8f137 Tests: Add cases for CMAKE_PARENT_LIST_FILE with include() and find_package()
002979e145 Tests/RunCMake/include: Match incidental line numbers more robustly
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10505
2025-04-14 08:29:52 -04:00
Brad King
bc1c3e94e0
Merge topic 'cps-link-only'
...
ebe487ea81 export: Allow export with LINK_ONLY library dependencies
13c7bb5b0c cmGeneratorExpression: Update strip function to collect parsed expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10522
2025-04-14 08:25:55 -04:00
Kitware Robot
3efd0e489a
CMake Nightly Date Stamp
2025-04-14 00:07:52 -04:00
Kitware Robot
66a33b6663
CMake Nightly Date Stamp
2025-04-13 00:04:37 -04:00
Marc Chevrier
2e9648e0de
Ninja generator: restore correct encoding for policy CMP0181=OLD
...
Fixes : #26857
2025-04-12 16:37:57 +02:00
Benjamin Buch
a9ea55f0d7
Fix CMAKE_PARENT_LIST_FILE after return from include() or find_package()
...
Fix the implementation, clarify the documentation, and add tests.
Fixes : #25026
Co-authored-by: Brad King <brad.king@kitware.com >
2025-04-12 09:40:37 -04:00
Brad King
41708398eb
cmMakefile: Factor out base class for list file scope RAII
2025-04-12 09:39:17 -04:00
Brad King
ce8be3da80
cmMakefile: De-duplicate CMAKE_CURRENT_LIST_FILE variable names
2025-04-12 09:39:17 -04:00
Kitware Robot
95437332ec
CMake Nightly Date Stamp
2025-04-12 00:07:23 -04:00