diff options
| -rw-r--r-- | mesonbuild/build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index ba989676f..0b6400732 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -3258,6 +3258,10 @@ class CustomTargetIndex(CustomTargetBase, HoldableObject): def depend_files(self) -> T.List[File]: return self.target.depend_files + @property + def subdir(self) -> str: + return self.target.subdir + def __repr__(self): return '<CustomTargetIndex: {!r}[{}]>'.format(self.target, self.output) |
