diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-04-17 19:14:26 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-04-18 09:01:23 +0000 |
commit | 7654db511c9341ae4e1b1ccca09d88c6554599b6 (patch) | |
tree | cdf51fa01e3495181a214f389e5d53b6cc567ac2 /mesonbuild/compilers/c.py | |
parent | 3c86520b6f6f9bd4274974496f6a5b56ec9f9ecd (diff) | |
download | meson-7654db511c9341ae4e1b1ccca09d88c6554599b6.zip meson-7654db511c9341ae4e1b1ccca09d88c6554599b6.tar.gz meson-7654db511c9341ae4e1b1ccca09d88c6554599b6.tar.bz2 |
vs: Update toolset table for VS 2019
Also add a test to ensure that we don't forget it in the future.
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r-- | mesonbuild/compilers/c.py | 3 |
1 files changed, 3 insertions, 0 deletions
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): |