diff options
| author | Nicolas Schneider <nioncode+git@gmail.com> | 2016-05-26 00:03:02 +0200 |
|---|---|---|
| committer | Nicolas Schneider <nioncode+git@gmail.com> | 2016-05-30 21:49:35 +0200 |
| commit | 3bedca025717aec3266450feb1d472d4169b68cd (patch) | |
| tree | ef2adb76cdee027d7d00f0b645c427b8fe10b56a /mesonbuild/coredata.py | |
| parent | 0b81f5b0ade5876844c9059645ff031146b3b052 (diff) | |
| download | meson-3bedca025717aec3266450feb1d472d4169b68cd.tar.gz | |
add vs2015 backend
Diffstat (limited to 'mesonbuild/coredata.py')
| -rw-r--r-- | mesonbuild/coredata.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index 8227340fd..287d29a3c 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -16,6 +16,7 @@ import pickle, os, uuid from .mesonlib import MesonException, default_libdir, default_libexecdir, default_prefix version = '0.32.0.dev1' +backendlist = ['ninja', 'vs2010', 'vs2015', 'xcode'] class UserOption: def __init__(self, name, description, choices): @@ -209,7 +210,7 @@ builtin_options = { 'warning_level' : [ UserComboOption, 'Compiler warning level to use.', [ '1', '2', '3' ], '1'], 'layout' : [ UserComboOption, 'Build directory layout.', ['mirror', 'flat' ], 'mirror' ], 'default_library' : [ UserComboOption, 'Default library type.', [ 'shared', 'static' ], 'shared' ], - 'backend' : [ UserComboOption, 'Backend to use.', [ 'ninja', 'vs2010', 'xcode' ], 'ninja' ], + 'backend' : [ UserComboOption, 'Backend to use.', backendlist, 'ninja' ], 'stdsplit' : [ UserBooleanOption, 'Split stdout and stderr in test logs.', True ], 'errorlogs' : [ UserBooleanOption, "Whether to print the logs from failing tests.", False ], } |
