diff options
author | Daniel Schulte <trilader@users.noreply.github.com> | 2019-03-01 21:29:52 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-03-01 22:29:52 +0200 |
commit | 924cf5e6220836be7ba9b53082948315497fce30 (patch) | |
tree | c4b40a71576e84757b24278b46af63885f068ab0 /mesonbuild/mintro.py | |
parent | ded0defc3fa12d11d722dba78f9dba66256a3b16 (diff) | |
download | meson-924cf5e6220836be7ba9b53082948315497fce30.zip meson-924cf5e6220836be7ba9b53082948315497fce30.tar.gz meson-924cf5e6220836be7ba9b53082948315497fce30.tar.bz2 |
mintro: Add name of subproject the target is contained in to --target output
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r-- | mesonbuild/mintro.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 2d01c11..8f9ed1d 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -135,7 +135,8 @@ def list_targets(builddata: build.Build, installdata, backend: backends.Backend) 'defined_in': os.path.normpath(os.path.join(src_dir, target.subdir, 'meson.build')), 'filename': [os.path.join(build_dir, target.subdir, x) for x in target.get_outputs()], 'build_by_default': target.build_by_default, - 'target_sources': backend.get_introspection_data(idname, target) + 'target_sources': backend.get_introspection_data(idname, target), + 'subproject': target.subproject or None } if installdata and target.should_install(): |