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 /test cases/common/230 persubproject options/meson.build | |
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 'test cases/common/230 persubproject options/meson.build')
-rw-r--r-- | test cases/common/230 persubproject options/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test cases/common/230 persubproject options/meson.build b/test cases/common/230 persubproject options/meson.build index 20dff90..f76a70c 100644 --- a/test cases/common/230 persubproject options/meson.build +++ b/test cases/common/230 persubproject options/meson.build @@ -1,9 +1,11 @@ project('persubproject options', 'c', default_options : ['default_library=both', - 'werror=true']) + 'werror=true', + 'warning_level=3']) assert(get_option('default_library') == 'both', 'Parent default_library should be "both"') assert(get_option('werror')) +assert(get_option('warning_level') == '3') # Check it build both by calling a method only both_libraries target implement lib = library('lib1', 'foo.c') |