From 77930d80c3fd6b5c71b676a96ac2a18b6aff77a1 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Wed, 22 Jan 2020 19:54:11 +0000 Subject: Store first line of VisualStudio compiler output as full_version Store the first line of VisualStudio compiler output as full_version, so it gets output when we report compiler details. --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild') diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 31d0e81..c899de0 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -1321,7 +1321,7 @@ class Environment: linker = self._guess_win_linker(['link'], cls, for_machine) return cls( compiler, version, for_machine, is_cross, info, exe_wrap, - target, linker=linker) + target, full_version=cl_signature, linker=linker) if 'PGI Compilers' in out: cls = PGICCompiler if lang == 'c' else PGICPPCompiler self.coredata.add_lang_args(cls.language, cls, for_machine, self) -- cgit v1.1