aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-10-15 05:27:35 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-10-19 20:46:04 +0530
commit65e9761cb1c8c5d7f75c65f8b35af4ce9bb124d5 (patch)
treea4131a81ad8f3b60eba33b60b3ec4a21e8400f83 /mesonbuild/build.py
parent23b060f0aa64d59ab6636964f9c308d6c0d2bebc (diff)
downloadmeson-65e9761cb1c8c5d7f75c65f8b35af4ce9bb124d5.zip
meson-65e9761cb1c8c5d7f75c65f8b35af4ce9bb124d5.tar.gz
meson-65e9761cb1c8c5d7f75c65f8b35af4ce9bb124d5.tar.bz2
Support all kinds of generated vala and vapi sources
This is the first step in making Vala support have feature-parity with C/C++ support. Vala and Vapi sources generated with Generators and CustomTargets are no longer ignored. Dependencies are setup properly and they are added to the commandline.
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index e500410..e16f118 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -776,6 +776,7 @@ class GeneratedList():
if hasattr(generator, 'held_object'):
generator = generator.held_object
self.generator = generator
+ self.name = self.generator.exe
self.infilelist = []
self.outfilelist = []
self.outmap = {}