Commit Graph

63597 Commits

Author SHA1 Message Date
Dmitry.Neverov
c028425df9 Debugger: report function name in DAP stackframes
Before a file name and a line were returned, but they can be
obtained by other means.

Fixes: #25091
2023-10-26 09:51:32 -04:00
Kitware Robot
a2c4b234f2 CMake Nightly Date Stamp 2023-10-24 00:01:07 -04:00
Brad King
a835d583f5 Merge branch 'release-3.28' 2023-10-23 12:06:34 -04:00
Brad King
44c144391d Merge topic 'clang-ansi-color'
74b5fae52d Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8900
2023-10-23 12:06:34 -04:00
Brad King
b99e99e1aa Merge topic 'clang-ansi-color' into release-3.28
74b5fae52d Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8900
2023-10-23 12:06:33 -04:00
Cristian Adam
74b5fae52d Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows
-fno-ansi-escape-codes is used only on Windows by Clang.

Without the flag color diagnostics are displayed only if clang.exe
is executed directly. Build tools like ninja and mingw32-make
will not display colored diagnostics.

Using -fno-ansi-escape-codes will make the build tools pass
the colored diagnostics to the calling application e.g IDE.

Fixes: #24235
2023-10-23 09:41:29 -04:00
Brad King
8a79a20257 Merge topic 'ninja-minor-cleanups'
c2e949b700 cmGlobalNinjaGenerator: remove unnecessary virtual method
1cfba13004 cmGlobalNinjaGenerator: fix lambda variable name typo
f02c3c6181 cmFileCommand: combine string literals

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8901
2023-10-23 09:40:27 -04:00
Brad King
e32c6a1c1c Merge branch 'release-3.28' 2023-10-23 09:39:23 -04:00
Brad King
e93ad8eecd Merge topic 'ninja-better-order-depends'
ed45432571 cmNinjaTargetGenerator: do not order-depend on C++ module sources
0973cd6702 cmNinjaTargetGenerator: use the file set visibility API
4625170925 cmFileSet: add a query for includeable file set types
51f9d9f0a2 cmNinjaTargetGenerator: avoid traversing old outputs repeatedly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8902
2023-10-23 09:39:23 -04:00
Brad King
34c51a385b Merge topic 'ninja-better-order-depends' into release-3.28
ed45432571 cmNinjaTargetGenerator: do not order-depend on C++ module sources
0973cd6702 cmNinjaTargetGenerator: use the file set visibility API
4625170925 cmFileSet: add a query for includeable file set types
51f9d9f0a2 cmNinjaTargetGenerator: avoid traversing old outputs repeatedly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8902
2023-10-23 09:39:22 -04:00
Brad King
de9425b8f8 Merge branch 'release-3.28' 2023-10-23 09:38:32 -04:00
Brad King
45b41722d6 Merge topic 'doc-modules-deprecated'
75ca6e17f2 Help: Move some deprecated modules to the dedicated sections

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8903
2023-10-23 09:38:32 -04:00
Brad King
2acff7ab81 Merge topic 'doc-modules-deprecated' into release-3.28
75ca6e17f2 Help: Move some deprecated modules to the dedicated sections

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8903
2023-10-23 09:38:31 -04:00
Kitware Robot
b94a5ec2ee CMake Nightly Date Stamp 2023-10-23 00:01:33 -04:00
Kitware Robot
a8d5aedd9c CMake Nightly Date Stamp 2023-10-22 00:01:06 -04:00
Kitware Robot
aab0d6bc4f CMake Nightly Date Stamp 2023-10-21 00:01:07 -04:00
權少
75ca6e17f2 Help: Move some deprecated modules to the dedicated sections 2023-10-20 09:01:33 -04:00
Brad King
35c7e237e7 Merge topic 'ci-linkcheck'
54e06c601d Help: Replace link with its http redirect

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8898
2023-10-20 08:43:04 -04:00
Ben Boeckel
ed45432571 cmNinjaTargetGenerator: do not order-depend on C++ module sources
C++ module sources should not be included by any other TUs, so their
presence cannot matter for order-only dependencies of the entire target.
Exclude them.

Update CMP0154 to take this into consideration and add tests to the
`CXXModules` suite (which already deals with module support detection).
2023-10-20 07:18:33 -04:00
Kitware Robot
6e6ba229cb CMake Nightly Date Stamp 2023-10-20 00:01:07 -04:00
Ben Boeckel
0973cd6702 cmNinjaTargetGenerator: use the file set visibility API 2023-10-19 23:09:33 -04:00
Ben Boeckel
4625170925 cmFileSet: add a query for includeable file set types 2023-10-19 23:09:33 -04:00
Ben Boeckel
51f9d9f0a2 cmNinjaTargetGenerator: avoid traversing old outputs repeatedly
We actually only need to look at outputs just added to the vector, not
all outputs that have been detected so far.
2023-10-19 23:09:33 -04:00
Ben Boeckel
c2e949b700 cmGlobalNinjaGenerator: remove unnecessary virtual method
The implementation is the same and the called method used internally is
`virtual`, so just make the call non-virtual.
2023-10-19 23:00:17 -04:00
Ben Boeckel
1cfba13004 cmGlobalNinjaGenerator: fix lambda variable name typo 2023-10-19 23:00:16 -04:00
Ben Boeckel
f02c3c6181 cmFileCommand: combine string literals 2023-10-19 23:00:16 -04:00
Brad King
29a13e0692 Merge branch 'release-3.28' 2023-10-19 11:31:55 -04:00
Brad King
d705ca9d34 Merge topic 'doc-cmake-presets-8'
d3978a3835 Help: Document cmake-presets version 8

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8899
2023-10-19 11:31:55 -04:00
Brad King
dec211da56 Merge topic 'doc-cmake-presets-8' into release-3.28
d3978a3835 Help: Document cmake-presets version 8

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8899
2023-10-19 11:31:54 -04:00
Johel Ernesto Guerrero Peña
d3978a3835 Help: Document cmake-presets version 8
This was accidentally missed in commit f1a7179520 (presets: Add $schema
property to JSON schema, 2023-09-07, v3.28.0-rc1~106^2).
2023-10-19 09:53:48 -04:00
Brad King
78bfcf47c8 Merge topic 'feat/cmake-project-module'
b37b912e8f CMAKE_PROJECT_INCLUDE: Allow to run module files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8894
2023-10-19 09:34:59 -04:00
Brad King
43826dccc8 Merge topic 'ninja_compile_commands'
67ddca187c Ninja: Set TARGET_COMPILE_PDB correctly for compile_commands.json

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8897
2023-10-19 09:34:10 -04:00
Brad King
54e06c601d Help: Replace link with its http redirect 2023-10-19 09:24:41 -04:00
Kitware Robot
d5e030fa67 CMake Nightly Date Stamp 2023-10-19 00:01:07 -04:00
Brad King
0b43c6eb2d Merge branch 'release-3.28' 2023-10-18 13:47:07 -04:00
Brad King
c2b28d4a66 CMake 3.28.0-rc2 v3.28.0-rc2 2023-10-18 13:15:13 -04:00
Cristian Le
b37b912e8f CMAKE_PROJECT_INCLUDE: Allow to run module files
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2023-10-18 18:01:05 +02:00
Brad King
a3fbc255ff Merge topic 'project-include-multiple'
704acca96b CMAKE_PROJECT_INCLUDE: Add support for including multiple files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8884
2023-10-18 10:08:49 -04:00
Sebastian Theophil
67ddca187c Ninja: Set TARGET_COMPILE_PDB correctly for compile_commands.json
Previously the Ninja target generator did not set the TARGET_COMPILE_PDB
before writing a compiler command to `compile_commands.json`.

Fixes: #25214
2023-10-18 09:55:28 -04:00
Brad King
48fdc6b98a Merge branch 'release-3.28' 2023-10-18 09:51:53 -04:00
Brad King
aff7870172 Merge topic 'cxxmodules-vs-no-synthetic-targets'
17fd7fe2ae Tests/CXXModules: test Visual Studio synthetic target error
badb6ab120 VS: Explicitly disallow C++ modules provided by imported targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8895
2023-10-18 09:51:53 -04:00
Brad King
dc7bed55e6 Merge topic 'cxxmodules-vs-no-synthetic-targets' into release-3.28
17fd7fe2ae Tests/CXXModules: test Visual Studio synthetic target error
badb6ab120 VS: Explicitly disallow C++ modules provided by imported targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8895
2023-10-18 09:51:52 -04:00
Brad King
2d68649142 Merge branch 'release-3.28' 2023-10-18 09:50:51 -04:00
Brad King
1d7df5db55 Merge topic 'cxxmodules-flagtable-fixes'
50f3c58083 FlagTables: Add entries for cl -scanDependencies flag
a22e9e7cf0 FlagTables: `-ifcOutput` takes a subsequent argument

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8892
2023-10-18 09:50:51 -04:00
Brad King
c924b9e9f7 Merge topic 'cxxmodules-flagtable-fixes' into release-3.28
50f3c58083 FlagTables: Add entries for cl -scanDependencies flag
a22e9e7cf0 FlagTables: `-ifcOutput` takes a subsequent argument

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8892
2023-10-18 09:50:50 -04:00
Cristian Le
704acca96b CMAKE_PROJECT_INCLUDE: Add support for including multiple files
Fixes: #25341
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2023-10-18 13:39:55 +02:00
Kitware Robot
7144216f45 CMake Nightly Date Stamp 2023-10-18 00:01:06 -04:00
Ben Boeckel
17fd7fe2ae Tests/CXXModules: test Visual Studio synthetic target error 2023-10-17 14:47:18 -04:00
Ben Boeckel
badb6ab120 VS: Explicitly disallow C++ modules provided by imported targets
The `-ifcOnly` flag is understood by MSBuild, but there are unresolved
questions about how to integrate with with CMake's model.

See: #25328
2023-10-17 14:46:57 -04:00
Brad King
3f49c0369d Merge topic 'update-libarchive'
d83c9ff24a Utilities: Update hard-coded try_compile results for libarchive 3.7.2
0ff572370f libarchive: Set build options the way we need for CMake
b281fd471a libarchive: Add cm3p prefixes on includes new to version 3.7.2
c4fec0edd6 Merge branch 'upstream-LibArchive' into update-libarchive
939e164ee5 LibArchive 2023-09-12 (6468cd1f)
1cc25f22ff libarchive: Update script to get 3.7.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8890
2023-10-17 10:23:47 -04:00