From 413f4d87e96905dcfcd082af9b59b9396d19f4b8 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 22 Sep 2020 11:15:01 -0700 Subject: compilers/cs: Add type annotations --- mesonbuild/compilers/compilers.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mesonbuild/compilers/compilers.py') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index a66ecdc08..6f15e4833 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1065,6 +1065,14 @@ class Compiler(metaclass=abc.ABCMeta): def get_dependency_gen_args(self, outtarget: str, outfile: str) -> T.List[str]: return [] + def get_std_exe_link_args(self) -> T.List[str]: + # TODO: is this a linker property? + return [] + + def get_include_args(self, path: str, is_system: bool) -> T.List[str]: + return [] + + def get_args_from_envvars(lang: str, for_machine: MachineChoice, -- cgit v1.2.3