diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-27 00:25:04 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-27 01:07:29 +0300 |
| commit | 6cca79b052b75bf174c2e482cc5d3e1a6cec4b02 (patch) | |
| tree | aaa12cf651414e2986410533ba06717d6834c0dc /coredata.py | |
| parent | f32db9afa27992df1e40fece4ffd40fd5f3768ae (diff) | |
| download | meson-6cca79b052b75bf174c2e482cc5d3e1a6cec4b02.tar.gz | |
Added multiple selectable warning levels.
Diffstat (limited to 'coredata.py')
| -rw-r--r-- | coredata.py | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/coredata.py b/coredata.py index 00703aa79..b74176dc9 100644 --- a/coredata.py +++ b/coredata.py @@ -17,19 +17,21 @@ import pickle, os, uuid version = '0.26.0-research' builtin_options = {'buildtype': True, - 'strip': True, - 'coverage': True, - 'pch': True, - 'unity': True, - 'prefix': True, - 'libdir' : True, - 'bindir' : True, - 'includedir' : True, - 'datadir' : True, - 'mandir' : True, - 'localedir' : True, - 'werror' : True, - } + 'strip': True, + 'coverage': True, + 'pch': True, + 'unity': True, + 'prefix': True, + 'libdir' : True, + 'bindir' : True, + 'includedir' : True, + 'datadir' : True, + 'mandir' : True, + 'localedir' : True, + 'werror' : True, + 'warning_level': True, + } + # This class contains all data that must persist over multiple # invocations of Meson. It is roughly the same thing as # cmakecache. @@ -54,6 +56,7 @@ class CoreData(): self.use_pch = options.use_pch self.unity = options.unity self.coverage = options.coverage + self.warning_level = options.warning_level self.werror = options.werror self.user_options = {} self.external_args = {} # These are set from "the outside" with e.g. mesonconf |
