diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-04-17 19:14:26 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-04-18 00:24:39 +0530 |
commit | e91dd1fe6550a2835de8e961119e3f2cf4695b9b (patch) | |
tree | c6d05069c9c19d4679d9f4c59f454ceaf0f91852 /mesonbuild/compilers/c.py | |
parent | 2942467148749e84868a79dd47dc4d31d4c75789 (diff) | |
download | meson-e91dd1fe6550a2835de8e961119e3f2cf4695b9b.tar.gz |
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 12f7838a4..da9a5dc07 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): |