aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-07-08 15:22:06 -0400
committerXavier Claessens <xclaesse@gmail.com>2020-07-22 19:19:50 -0400
commitc016401f95bce461a9acefc86bb75884684d9a5f (patch)
treebe9a48db8a29e47d72e5a4e1f5fb08a29516ad42 /mesonbuild
parent6bf61b2a384ab42c679097ea749f8c5235f1e9f8 (diff)
downloadmeson-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.py2
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', [])),