From 6a90d5d58781734149c637eb46dda5d90ddc03f7 Mon Sep 17 00:00:00 2001 From: Martin Ejdestig Date: Mon, 22 Feb 2016 19:45:34 +0100 Subject: [PATCH] Print value of werror in mesonconf --- mesonbuild/mconf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 67f2a9172..03cbe55d6 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -123,6 +123,7 @@ class Conf: booleans = '[true, false]' carr.append(['buildtype', 'Build type', self.coredata.get_builtin_option('buildtype'), build_types]) carr.append(['warning_level', 'Warning level', self.coredata.get_builtin_option('warning_level'), warning_levels]) + carr.append(['werror', 'Treat warnings as errors', self.coredata.get_builtin_option('werror'), booleans]) carr.append(['strip', 'Strip on install', self.coredata.get_builtin_option('strip'), booleans]) carr.append(['coverage', 'Coverage report', self.coredata.get_builtin_option('coverage'), booleans]) carr.append(['use_pch', 'Precompiled headers', self.coredata.get_builtin_option('use_pch'), booleans])