diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-07-08 15:22:06 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2020-07-22 19:19:50 -0400 |
commit | c016401f95bce461a9acefc86bb75884684d9a5f (patch) | |
tree | be9a48db8a29e47d72e5a4e1f5fb08a29516ad42 /mesonbuild | |
parent | 6bf61b2a384ab42c679097ea749f8c5235f1e9f8 (diff) | |
download | meson-c016401f95bce461a9acefc86bb75884684d9a5f.zip meson-c016401f95bce461a9acefc86bb75884684d9a5f.tar.gz meson-c016401f95bce461a9acefc86bb75884684d9a5f.tar.bz2 |
coredata: Make warning_level per subproject builtin option
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/coredata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index af43b31..e2a6954 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -1182,7 +1182,7 @@ builtin_options = OrderedDict([ ('strip', BuiltinOption(UserBooleanOption, 'Strip targets on install', False)), ('unity', BuiltinOption(UserComboOption, 'Unity build', 'off', choices=['on', 'off', 'subprojects'])), ('unity_size', BuiltinOption(UserIntegerOption, 'Unity block size', (2, None, 4))), - ('warning_level', BuiltinOption(UserComboOption, 'Compiler warning level to use', '1', choices=['0', '1', '2', '3'])), + ('warning_level', BuiltinOption(UserComboOption, 'Compiler warning level to use', '1', choices=['0', '1', '2', '3'], yielding=False)), ('werror', BuiltinOption(UserBooleanOption, 'Treat warnings as errors', False, yielding=False)), ('wrap_mode', BuiltinOption(UserComboOption, 'Wrap mode', 'default', choices=['default', 'nofallback', 'nodownload', 'forcefallback'])), ('force_fallback_for', BuiltinOption(UserArrayOption, 'Force fallback for those subprojects', [])), |