diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-05-13 16:19:33 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-05-15 08:39:25 +0000 |
commit | a25f0741e8ac663c8b3a6e33df8a0875dceab804 (patch) | |
tree | 876ea71401b61c2935cf6620e51620bd10ddbb8a /mesonbuild/compilers | |
parent | cd3e65a790b98e9106b56ad76863abe55b4096fa (diff) | |
download | meson-a25f0741e8ac663c8b3a6e33df8a0875dceab804.zip meson-a25f0741e8ac663c8b3a6e33df8a0875dceab804.tar.gz meson-a25f0741e8ac663c8b3a6e33df8a0875dceab804.tar.bz2 |
ninjabackend: Use order-only gen-header deps for gen-sources
We do not need to *always* rebuild generated sources when a generated
header changes. We will get that information from the compiler's
dependency file, and ninja will track it for us. This is exactly the
same as static sources.
However, we do need an order-only dependency on all generated headers,
because we cannot know what headers will be needed at compile time
(which is when the compiler's dependency file is generated).
This fixes spurious rebuilds and relinking in many cases.
Diffstat (limited to 'mesonbuild/compilers')
0 files changed, 0 insertions, 0 deletions