diff options
author | David Robillard <d@drobilla.net> | 2023-05-03 11:53:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-03 11:58:03 -0400 |
commit | 83c02756c8f48fc54c6e2cf96edb9245d891396a (patch) | |
tree | f73f3bc081caf7cf6b9efb5082fcf88c2257f6dd /examples | |
parent | 1a2160b236c06275214f36075dc4e8f05d2ecc64 (diff) | |
download | pugl-83c02756c8f48fc54c6e2cf96edb9245d891396a.tar.gz pugl-83c02756c8f48fc54c6e2cf96edb9245d891396a.tar.bz2 pugl-83c02756c8f48fc54c6e2cf96edb9245d891396a.zip |
Replace strict option with new meson warning level
Diffstat (limited to 'examples')
-rw-r--r-- | examples/meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/meson.build b/examples/meson.build index b1ac7a6..5c995a9 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,4 +1,4 @@ -# Copyright 2021-2022 David Robillard <d@drobilla.net> +# Copyright 2021-2023 David Robillard <d@drobilla.net> # SPDX-License-Identifier: 0BSD OR ISC data_dir = get_option('prefix') / get_option('datadir') / 'pugl-0' @@ -35,7 +35,7 @@ includes = include_directories( # Suppress some additional C warnings in examples example_c_args = [] -if get_option('strict') +if get_option('warning_level') == 'everything' if cc.get_id() == 'clang' example_c_args += [ '-Wno-float-equal', @@ -53,7 +53,7 @@ endif # Suppress some additional C++ warnings in examples example_cpp_args = [] -if get_option('strict') and is_variable('cpp') +if get_option('warning_level') == 'everything' and is_variable('cpp') if cpp.get_id() == 'clang' example_cpp_args += [ '-Wno-documentation', # Cairo |