From 7654db511c9341ae4e1b1ccca09d88c6554599b6 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Wed, 17 Apr 2019 19:14:26 +0530 Subject: vs: Update toolset table for VS 2019 Also add a test to ensure that we don't forget it in the future. --- mesonbuild/compilers/c.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/compilers') diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 12f7838..da9a5dc 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -1674,6 +1674,9 @@ class VisualStudioCCompiler(CCompiler): return '14.0' # (Visual Studio 2015) elif version < 1920: return '14.1' # (Visual Studio 2017) + elif version < 1930: + return '14.2' # (Visual Studio 2019) + mlog.warning('Could not find toolset for version {!r}'.format(self.version)) return None def get_default_include_dirs(self): -- cgit v1.1