diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-02-03 10:17:30 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-10-03 08:53:12 -0700 |
| commit | b158214b3fad4667407e4b577d5027e58dd7d798 (patch) | |
| tree | 8d58453c6e2754c44655e3ba24b6a82d450ab0cb /mesonbuild | |
| parent | 34bc81a49f098d2f113e198a5ec75236cfd3cb21 (diff) | |
| download | meson-b158214b3fad4667407e4b577d5027e58dd7d798.tar.gz | |
build: Add get_basename to CustomTargetIndex
Guess what the vs2010 backend can hit?
Diffstat (limited to 'mesonbuild')
| -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 b70866fa4..ba989676f 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -3311,6 +3311,10 @@ class CustomTargetIndex(CustomTargetBase, HoldableObject): def get_custom_install_dir(self) -> T.List[T.Union[str, Literal[False]]]: return self.target.get_custom_install_dir() + def get_basename(self) -> str: + return self.target.get_basename() + + class ConfigurationData(HoldableObject): def __init__(self, initial_values: T.Optional[T.Union[ T.Dict[str, T.Tuple[T.Union[str, int, bool], T.Optional[str]]], |
