diff options
Diffstat (limited to 'mesonbuild/backend/vs2019backend.py')
-rw-r--r-- | mesonbuild/backend/vs2019backend.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mesonbuild/backend/vs2019backend.py b/mesonbuild/backend/vs2019backend.py index c0ff5c3..e089cb4 100644 --- a/mesonbuild/backend/vs2019backend.py +++ b/mesonbuild/backend/vs2019backend.py @@ -13,14 +13,17 @@ # limitations under the License. import os +import typing as T import xml.etree.ElementTree as ET from .vs2010backend import Vs2010Backend +from ..interpreter import Interpreter +from ..build import Build class Vs2019Backend(Vs2010Backend): - def __init__(self, build): - super().__init__(build) + def __init__(self, build: T.Optional[Build], interpreter: T.Optional[Interpreter]): + super().__init__(build, interpreter) self.name = 'vs2019' if self.environment is not None: comps = self.environment.coredata.compilers.host |