aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-05-26 22:33:52 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-05-31 17:49:29 -0400
commitdd2f1c4c57874a0efcd9f6d331985c408101c30d (patch)
tree0af74e8a9eb283c2f457ba730716afa51a5a3e6e /mesonbuild/compilers/compilers.py
parent40c69630df1057401a9ae3ec5584a9ff8d1bef46 (diff)
downloadmeson-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