Now that projects can easily override defaults, return warning level to 2.

pull/300/head
Jussi Pakkanen 9 years ago
parent 062512a0f1
commit c0070aadae
  1. 8
      meson.py

@ -31,13 +31,7 @@ build_types = ['plain', 'debug', 'debugoptimized', 'release']
layouts = ['mirror', 'flat']
warning_levels = ['1', '2', '3']
default_warning = '1'
try:
warn_candidate = os.environ['MESON_WARN_LEVEL']
if warn_candidate in warning_levels:
default_warning = warn_candidate
except KeyError:
pass
default_warning = '2'
if mesonlib.is_windows():
def_prefix = 'c:/'

Loading…
Cancel
Save