diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-22 10:54:16 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2020-10-01 15:05:00 -0700 |
| commit | e7f0890cb9a26e2e64e79739c80fddb609d484cf (patch) | |
| tree | e19982b181afbddc39ad61b40c136973968884e0 /mesonbuild/compilers/compilers.py | |
| parent | 1513aa437dd397934eff176c81d742a78e54ddb9 (diff) | |
| download | meson-e7f0890cb9a26e2e64e79739c80fddb609d484cf.tar.gz | |
compilers: move get_dependency_gen_args to base Compiler
So that every subclass doesn't have to reimplement it. Especially since
the Gnu implementation moved out of the CCompiler and into the
GnuLikeCompiler mixin
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
| -rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 578f65446..a66ecdc08 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1062,6 +1062,9 @@ class Compiler(metaclass=abc.ABCMeta): def split_shlib_to_parts(self, fname: str) -> T.Tuple[T.Optional[str], str]: return None, fname + def get_dependency_gen_args(self, outtarget: str, outfile: str) -> T.List[str]: + return [] + def get_args_from_envvars(lang: str, for_machine: MachineChoice, |
