a887fda85e WINDOWS_EXPORT_ALL_SYMBOLS: Improve performance with Clang toolsets
6d6e58a15e WINDOWS_EXPORT_ALL_SYMBOLS: Fix support for Visual Studio with ClangCL
ca1dc92e36 WINDOWS_EXPORT_ALL_SYMBOLS: Fail explicitly if `nm` fails to start
03e56cd338 Tests: Add cases covering `nm` handling for WINDOWS_EXPORT_ALL_SYMBOLS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12327
79b807d185 nmake: support long comments for custom commands
e2a243ba43 fastbuild: long list of custom target deps really tested
b44db2c372 instrumentation: enable long output tests for all generators
94e37bc281 Tests: fix RunCMake_TEST_FILTER with non-matching TargetGenexEvent
0a4b5c1e36 Tests: deduplicate configure-and-build sequence
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12354
Fix commit 402d72b6c0 (OrangeC: Add support for compiling Windows
Resources, 2026-03-24, v4.4.0-rc1~444^2~1) to work for both C and CXX.
Inspired-by: Arha Gatram <agatram@nvidia.com>
- Separate definition files from object files while reading the
generated input list.
- Add batch bindexplib interfaces.
- Preserve native Windows COFF parsing for ordinary objects.
- Collect objects requiring nm and pass them to one nm process through a
response file. On non-Windows hosts, pass every object to nm.
- Request --print-file-name so single- and multi-object output use the
same format.
- Recognize text, data, and MSVC vftable symbols; ignore known
non-exported types and warn about unknown types.
- Capture nm stderr separately so diagnostics cannot corrupt stdout
symbol records.
Closes: #27995
Previously, when process creation failed, the initialized exit code
remained zero and `__create_def` silently wrote an empty export file.
Closes: #27993
The '--target' completion parsed 'cmake --build --target help'
with a sed pattern whose leading '...' matched any three
characters, so the header line yielded a bogus 'following'
candidate. Anchor the pattern to literal dots.
Also note in the user-interaction guide that 'make' target
tab-completion is provided by the external bash-completion
package, which may hide the plain '<target>' name when a
'<target>/fast' variant exists, and recommend
'cmake --build --target' completion instead.
Fixes: #27873
Since commit cb616d43d6 (FortranCInterface: Fix failure with gfortran 12
and Clang, 2022-05-16, v3.23.2~10^2) we add LTO flags for C symbols when
using the GNU C compiler. However, they are only needed when detecting
mangling of the GNU Fortran compiler, as was originally written in
commit 6a0ce19ce1 (FortranCInterface: Fix compatibility with GCC
gfortran 12 LTO, 2022-01-19, v3.22.2~5^2).
Fixes: #28008
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit ea24baf09785b45775850c26e6ddf0aea51450d6 (master).
Upstream Shortlog
-----------------
Zachary Wassall (7):
373da385 SystemTools: Deduplicate file read block size constant
9ef82eae SystemTools: Produce a 64-bit result from `FileLength`
2fc8d097 SystemTools: Use a larger, heap-allocated buffer to compare/copy large files
0ee2e909 SystemTools: Quickly exit `FilesDiffer` for early differences
08e59762 SystemTools: Gradually scale up the comparison block size in `FilesDiffer`
ebc72d7d SystemTools: Use C I/O to avoid `fstream`'s internal buffer
ba9c9877 SystemTools: Improve error checking