diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-05-26 22:33:52 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-05-31 17:49:29 -0400 |
commit | dd2f1c4c57874a0efcd9f6d331985c408101c30d (patch) | |
tree | 0af74e8a9eb283c2f457ba730716afa51a5a3e6e /mesonbuild/compilers/compilers.py | |
parent | 40c69630df1057401a9ae3ec5584a9ff8d1bef46 (diff) | |
download | meson-dd2f1c4c57874a0efcd9f6d331985c408101c30d.zip meson-dd2f1c4c57874a0efcd9f6d331985c408101c30d.tar.gz meson-dd2f1c4c57874a0efcd9f6d331985c408101c30d.tar.bz2 |
ninja backend: simplify generation of phony targets
Every phony target has a special indirection rule created because ninja
is bad at deleting generated outputs and tries to delete phony outputs
too.
Instead of invoking this as a separate helper post-creation function to
create the alias, wrap NinjaBuildElement and create it behind the
scenes. This simplifies target naming and means one less line at every
single use site.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions