aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-01-22 19:54:11 +0000
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-09-11 20:45:09 +0000
commit77930d80c3fd6b5c71b676a96ac2a18b6aff77a1 (patch)
tree64a45e8fd1275e5a6159d262a3771913f61ad77d /mesonbuild/environment.py
parentd880f995ea564904c9d236f83cafadae185e92b6 (diff)
downloadmeson-77930d80c3fd6b5c71b676a96ac2a18b6aff77a1.zip
meson-77930d80c3fd6b5c71b676a96ac2a18b6aff77a1.tar.gz
meson-77930d80c3fd6b5c71b676a96ac2a18b6aff77a1.tar.bz2
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.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
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)