diff options
| author | Nicolas Schneider <nioncode+git@gmail.com> | 2017-03-22 09:59:09 +0100 |
|---|---|---|
| committer | Nicolas Schneider <nioncode+git@gmail.com> | 2017-03-22 11:05:28 +0100 |
| commit | 994696e0ad9adc6e25e8ae77c0f84f8998789e3f (patch) | |
| tree | 0f017cd0f1d40bf6d7ed6bfe89bf08d7960290ff /mesonbuild/mesonmain.py | |
| parent | d9cabe9f0ca6fb06808c1d5cf5206a7c5158517e (diff) | |
| download | meson-994696e0ad9adc6e25e8ae77c0f84f8998789e3f.tar.gz | |
add vs2017 backend
VS2017 requires the 'WindowsTargetPlatformVersion' property to be set.
We gather the version to use from the environment variable
'WindowsSDKVersion' that will be set by the VS developer command prompt.
Diffstat (limited to 'mesonbuild/mesonmain.py')
| -rw-r--r-- | mesonbuild/mesonmain.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index 031486c87..38c00a0a1 100644 --- a/mesonbuild/mesonmain.py +++ b/mesonbuild/mesonmain.py @@ -151,6 +151,9 @@ If you want to change option values, use the mesonconf tool instead.''' elif self.options.backend == 'vs2015': from .backend import vs2015backend g = vs2015backend.Vs2015Backend(b) + elif self.options.backend == 'vs2017': + from .backend import vs2017backend + g = vs2017backend.Vs2017Backend(b) elif self.options.backend == 'xcode': from .backend import xcodebackend g = xcodebackend.XCodeBackend(b) |
