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
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
Martin Duffy
ebe487ea81
export: Allow export with LINK_ONLY library dependencies
2025-04-11 13:20:14 -04:00
Martin Duffy
13c7bb5b0c
cmGeneratorExpression: Update strip function to collect parsed expressions
2025-04-11 10:54:20 -04:00
Kitware Robot
3ecefb7154
CMake Nightly Date Stamp
2025-04-11 00:04:21 -04:00
Brad King
ee515b2aa8
CMake 4.0.1
2025-04-10 10:58:22 -04:00
Brad King
cc2d986fdf
Merge topic 'GNUInstallDirs-special-cases'
...
4ed399ccfb GNUInstallDirs: Change special path defaults to absolute
7566a477f7 GNUInstallDirs: Factor out helper for special absolute path logic
42dfcbf1a5 GNUInstallDirs: Refactor LIBDIR default calculation
9789f7d05e GNUInstallDirs: Add internal helper to compute specific defaults
83f44bbf53 GNUInstallDirs: Factor out helper to compute system type
0c9b6aa9e4 GNUInstallDirs: De-duplicate description of defaults
18e1341950 GNUInstallDirs: Move defaults from arguments to variables
9f41a67fce GNUInstallDirs: Reduce duplication of CMAKE_INSTALL_ prefix
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10542
2025-04-10 08:57:49 -04:00
Brad King
b309159930
Merge topic 'iar-add-icstat-support'
...
c7d2a17253 IAR: Add support for C-STAT static analysis
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10624
2025-04-10 08:40:28 -04:00
Kitware Robot
b9b2005e35
CMake Nightly Date Stamp
2025-04-10 00:06:45 -04:00
Felipe Torrezan
c7d2a17253
IAR: Add support for C-STAT static analysis
...
The IAR platform offers an integrated static analysis tool named
IAR C-STAT.
Closes : #26844
2025-04-09 12:01:02 -04:00
Brad King
11f67538c1
Merge topic 'update-kwsys'
...
abe4e4466b Merge branch 'upstream-KWSys' into update-kwsys
21c464252f KWSys 2025-04-09 (0fa969cb)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10625
2025-04-09 11:36:27 -04:00
Cristian Le
4ed399ccfb
GNUInstallDirs: Change special path defaults to absolute
...
Add policy `CMP0192` for compatibility.
Closes : #25852
Signed-off-by: Cristian Le <git@lecris.dev >
2025-04-09 11:31:43 -04:00
Brad King
abe4e4466b
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2025-04-09 (0fa969cb)
2025-04-09 09:37:34 -04:00
Brad King
cacd17230f
Merge topic 'apple-CoreFoundation-headers'
...
d736dafa22 Merge branch 'backport-3.31-apple-CoreFoundation-headers'
42390e7aa2 Source: Include specific CoreFoundation headers instead of umbrella header
14ffd1cc4e cmXCodeObject: Drop unused CoreFoundation header
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10616
2025-04-09 09:08:38 -04:00