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.
pull/7726/head
Jon Turney 5 years ago committed by Nirbheek Chauhan
parent d880f995ea
commit 77930d80c3
  1. 2
      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)

Loading…
Cancel
Save