build: Add get_subdir() to GeneratedList

It needs this to match the behavior of CustomTarget and
CustomTargetIndex, the later of which doesn't have a subdir attribute,
just `get_subdir()`
pull/9063/head
Dylan Baker 4 years ago
parent 3f71779f8a
commit daf63fc377
  1. 4
      mesonbuild/build.py

@ -1628,6 +1628,10 @@ class GeneratedList(HoldableObject):
def get_extra_args(self) -> T.List[str]:
return self.extra_args
def get_subdir(self) -> str:
return self.subdir
class Executable(BuildTarget):
known_kwargs = known_exe_kwargs

Loading…
Cancel
Save