1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-21 04:01:40 +08:00

8 Commits

Author SHA1 Message Date
Brad King
b13d2e3321 Merge topic 'custom-command-ninja-deps'
3c8d1eef72 Ninja: depfile: keep rules without dependencies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8984
2023-11-20 09:01:42 -05:00
Marc Chevrier
3c8d1eef72 Ninja: depfile: keep rules without dependencies
To avoid repeated executions of custom command actions, depfile file
with rules without dependencies must be preserved.

Fixes: #25428
2023-11-20 08:17:48 -05:00
Brad King
241ee252ce IWYU: Update for Debian 12 CI job
`include-what-you-use` diagnostics, in practice, are specific to
the environment's compiler and standard library.  Update includes
to satisfy IWYU for our CI job under Debian 12.
2023-07-28 09:14:08 -04:00
Marc Chevrier
375e6fdbbe Link step: use linker dependency linker file
Based on work done by @ben.boeckel (!8051)

Fixes: #22217
2023-05-03 17:08:07 +02:00
Marc Chevrier
0b65a2b253 add_custom_command(DEPFILE): ensure all dependencies are taken into account 2022-01-16 16:21:12 +01:00
Marc Chevrier
1b346350af Makefiles dependencies: normalize windows paths
Fixes: #21997
2021-03-30 15:04:03 +02:00
Kyle Edwards
946adadd40 cmGccDepfileReader: Rework helper code
Fix some of the semantics of the depfile, add error handling, and
refactor cmGccDepfileLexerHelper.
2020-10-13 10:18:02 -04:00
Joerg Bornemann
f8c505d4b3 Add a parser for GCC-style depfiles
Introduce the function cmReadGccDepfile that parses a GCC-style depfile
and returns its content. The implementation uses a lexer that is
modeled after the re2c implementation in Ninja.

The sample files of the autotest have been created with gcc 8.3.0.

This depfile reader is to be used by the Autogen facility to make use
of the depfiles that are generated by Qt's meta object compiler.
2020-01-28 11:16:11 -05:00