Brad King
67ed00a1ca
Merge topic 'fastbuild-pdb-quoting'
...
6f1fe8853d FASTBuild: Fix default MSVC compiler PDB paths
dff020e679 FASTBuild: Add internal helper for intermediate directory creation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Eduard Voronkin <edward.voronkin@gmail.com >
Merge-request: !11483
2025-12-08 10:15:56 -05:00
Brad King
9fab9dc7f1
Merge branch 'release-4.2'
2025-12-08 10:01:51 -05:00
Brad King
4fa833250b
Merge topic 'ci-linkcheck'
...
b1a2371c26 Help: Replace QtCreator link with its permanent redirect
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11478
2025-12-08 10:01:50 -05:00
Brad King
b05049e112
Merge topic 'ci-linkcheck' into release-4.2
...
b1a2371c26 Help: Replace QtCreator link with its permanent redirect
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11478
2025-12-08 10:01:49 -05:00
Brad King
f35369c452
Merge branch 'release-4.2'
2025-12-08 10:00:31 -05:00
Brad King
118aa10251
Merge branch 'release-4.1'
2025-12-08 10:00:24 -05:00
Brad King
28db77295b
Merge branch 'release-4.1' into release-4.2
2025-12-08 10:00:15 -05:00
Brad King
68c975206f
Merge branch 'release-4.2'
2025-12-08 09:58:57 -05:00
Brad King
9c7a261d78
Merge topic 'vs2019-v142'
...
8c332a3c7f VS: Restore support for VS 2019 with toolset v142 versions before 14.29
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11480
2025-12-08 09:58:57 -05:00
Brad King
7d113b9b84
Merge topic 'vs2019-v142' into release-4.2
...
8c332a3c7f VS: Restore support for VS 2019 with toolset v142 versions before 14.29
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11480
2025-12-08 09:58:55 -05:00
Brad King
a9c997edc0
Merge topic 'vs2019-v142' into release-4.1
...
8c332a3c7f VS: Restore support for VS 2019 with toolset v142 versions before 14.29
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11480
2025-12-08 09:57:50 -05:00
Kitware Robot
6f6a438710
CMake Nightly Date Stamp
2025-12-08 00:07:47 -05:00
Craig Scott
c0eb0ad5ef
Merge topic 'instrumentation-post-workflow'
...
956d36d3cd instrumentation: Add postCMakeWorkflow hook
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Alex Overchenko <aleksandr9809@gmail.com >
Merge-request: !11450
2025-12-07 19:27:41 -05:00
Kitware Robot
eb7a8f8e85
CMake Nightly Date Stamp
2025-12-07 00:08:31 -05:00
Kitware Robot
0439baaad1
CMake Nightly Date Stamp
2025-12-06 00:11:15 -05:00
Brad King
6f1fe8853d
FASTBuild: Fix default MSVC compiler PDB paths
...
When we pass a PDB output directory to the compiler in a path that
requires quoting, the trailing backslash must be escaped to be parsed
correctly by the compiler, e.g., `cl /Fd"path\with space\\"`. However,
`fbuild` does not parse this correctly when extracting `/Fd`. Work
around that bug by using a trailing forward slash in quotes instead.
2025-12-05 18:02:30 -05:00
Brad King
dff020e679
FASTBuild: Add internal helper for intermediate directory creation
2025-12-05 15:10:09 -05:00
Brad King
8c332a3c7f
VS: Restore support for VS 2019 with toolset v142 versions before 14.29
...
Since commit 7db3dbddb2 (VS: Suppress MSBuild default flags not
specified by project or user, 2025-06-02, v4.1.0-rc1~69^2) we suppress
the `-Zc:inline` default flag when the project/user does not specify it.
That triggers an apparent bug in VS 2019 with v142 toolset versions
before 14.29 in which MSBuild fails when both `-Zc:inline` and `-nologo`
are suppressed. This happens when `CMAKE_VERBOSE_MAKEFILE` is enabled,
such as in `try_compile` projects like our builtin compiler inspection.
Since `-nologo` is incidental, avoid suppressing it if `-Zc:inline` is
also suppressed. Limit this workaround to relevant toolset versions.
Fixes : #27439
2025-12-05 12:47:53 -05:00
Brad King
3277ef73c8
Merge topic 'FindLibXml2-static'
...
5f2f36f1ea FindLibXml2: Add a LibXml2_USE_STATIC_LIBS hint
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11476
2025-12-05 09:07:30 -05:00
Brad King
9149ac3f37
Merge topic 'fix-27420'
...
4fdfa0db1a file(ARCHIVE_CREATE): support multithreading compression
cbf71b21b2 cli tar: support multithreading compression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11460
2025-12-05 09:04:58 -05:00
Brad King
b1a2371c26
Help: Replace QtCreator link with its permanent redirect
2025-12-05 08:55:18 -05:00
Kitware Robot
7433a9efc4
CMake Nightly Date Stamp
2025-12-05 00:06:59 -05:00
Keith Smiley
5f2f36f1ea
FindLibXml2: Add a LibXml2_USE_STATIC_LIBS hint
...
Add an option to search only for the static library.
2025-12-04 15:51:35 -05:00
Kitware Robot
3986f4b79e
CMake Nightly Date Stamp
2025-12-04 00:07:30 -05:00
Brad King
66ef2bce82
Merge topic 'FindPython'
...
b589a78497 FindPython: Use bracket arguments for python code blocks
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11467
2025-12-03 16:27:16 -05:00
Brad King
e4737d1c4a
Merge topic 'cli-tar-lzma'
...
5b87a5d53e cli tar: implement LZMA support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11465
2025-12-03 16:26:20 -05:00
Brad King
d0b6ef71d5
Merge branch 'release-4.2'
2025-12-03 16:24:27 -05:00
Brad King
37e8c92172
Merge topic 'revert-pdb-compile-filename-setting'
...
809e387a13 cmGeneratorTarget: Revert "always provide a compile PDB filename"
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11471
2025-12-03 16:24:27 -05:00
Brad King
7e65afff2f
Merge topic 'revert-pdb-compile-filename-setting' into release-4.2
...
809e387a13 cmGeneratorTarget: Revert "always provide a compile PDB filename"
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11471
2025-12-03 16:24:25 -05:00
Martin Duffy
956d36d3cd
instrumentation: Add postCMakeWorkflow hook
...
Issue: #27414
2025-12-03 16:00:37 -05:00
AJIOB
4fdfa0db1a
file(ARCHIVE_CREATE): support multithreading compression
...
Relates: #27420
2025-12-03 02:45:30 -05:00
AJIOB
cbf71b21b2
cli tar: support multithreading compression
...
Fixes : #27420
2025-12-03 02:45:30 -05:00
Kitware Robot
93aa407481
CMake Nightly Date Stamp
2025-12-03 00:10:34 -05:00
Brad King
809e387a13
cmGeneratorTarget: Revert "always provide a compile PDB filename"
...
Revert commit 1a8712d31a (cmGeneratorTarget: always provide a compile
PDB filename, 2025-11-24). It changed our long-standing conditions for
when a naming a compiler-generated `.pdb` file is explicitly named.
It also caused some `BuildDepends` and `RunCMake.BuildDepends` failures
in VS builds that went unnoticed before merging.
Issue: #27401
2025-12-02 17:08:03 -05:00
Craig Scott
c98bec6ae6
Merge topic 'fileapi-compilerargs'
...
71a4e34d97 fileAPI: Expose CMAKE_<LANG>_COMPILER_ARG1
1e02926c9a fileAPI: Refactor toolchains schema to prepare for new version
3caa572c05 fileAPI: Output more info for test failures
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11419
2025-12-02 16:27:43 -05:00
Brad King
8fd9ebea6b
Merge topic 'doc-policy-max'
...
7323fbd65e Help: Be more explicit about what `...<policy_max>` does not mean
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11438
2025-12-02 15:52:30 -05:00
Brad King
d6b76cdc87
Merge topic 'cps-validate-version'
...
cc508826b4 CPS: Validate package version
fb66a14da2 cmExportFileGenerator: Allow other message types
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11458
2025-12-02 15:43:42 -05:00
Brad King
866dd25916
Merge topic 'Linux-IntelLLVM'
...
0837fb552f IntelLLVM: Remove unused code
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11468
2025-12-02 15:39:48 -05:00
Brad King
17c74f6719
Merge topic 'bundled'
...
82e3d17b5e Utilities: Announce both system-installed and bundled dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11427
2025-12-02 15:38:26 -05:00
Brad King
95e8df9cab
Merge topic 'fix-docs-27429'
...
cd5f7eb30a Help: improve XZ compression method docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11463
2025-12-02 15:37:22 -05:00
Christian Walther
71a4e34d97
fileAPI: Expose CMAKE_<LANG>_COMPILER_ARG1
...
Compiler arguments coming from CC environment variables or multi-element
CMAKE_<LANG>_COMPILER variables set by toolchain files were previously not
exposed in the file API. Among other possible problems, this caused clients
to determine wrong system include paths and built-in preprocessor macros by
calling the compiler without these important arguments.
This is fixed by adding an optional "commandFragment" attribute to the
compiler description in the `toolchains` object, containing these arguments
as a command line fragment. This is already the form in which they are
internally stored in the CMAKE_<LANG>_COMPILER_ARG1 variable, so all that is
required is adding this variable to the set of exported variables, besides
some logic to omit it if empty.
Issue: #22568
2025-12-03 07:34:53 +11:00
Brad King
979ca75993
Merge branch 'release-4.2'
2025-12-02 15:32:01 -05:00
Brad King
7a7028eb48
Merge topic 'improve-subcommand-message-consistency'
...
a1a75f4008 cmake_file_api: Improve error message consistency
61143d7cef export: Improve error message consistency
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11470
2025-12-02 15:32:01 -05:00
Brad King
e12206b738
Merge topic 'improve-subcommand-message-consistency' into release-4.2
...
a1a75f4008 cmake_file_api: Improve error message consistency
61143d7cef export: Improve error message consistency
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11470
2025-12-02 15:31:59 -05:00
ferdymercury
7323fbd65e
Help: Be more explicit about what ...<policy_max> does not mean
...
Also use `<policy_max>` more consistently in signatures.
2025-12-02 15:25:47 -05:00
Brad King
23297c6140
Merge branch 'release-4.2'
2025-12-02 15:20:14 -05:00
Brad King
a294c9ac1a
Merge topic 'fix-cps-arg-parsing'
...
41b6b07527 cmExportCommand: Fix PACKAGE_INFO argument parsing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11459
2025-12-02 15:20:14 -05:00
Brad King
dd96576e15
Merge topic 'fix-cps-arg-parsing' into release-4.2
...
41b6b07527 cmExportCommand: Fix PACKAGE_INFO argument parsing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11459
2025-12-02 15:20:12 -05:00
Eisuke Kawashima
b589a78497
FindPython: Use bracket arguments for python code blocks
2025-12-03 01:11:33 +09:00
AJIOB
5b87a5d53e
cli tar: implement LZMA support
...
Fixes : #27433
2025-12-02 10:44:49 +03:00