aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ejdestig <marejde@gmail.com>2016-02-22 19:45:34 +0100
committerMartin Ejdestig <marejde@gmail.com>2016-02-22 19:45:34 +0100
commit6a90d5d58781734149c637eb46dda5d90ddc03f7 (patch)
treeb86d303203004222ab1b39b759b43169721ccb30
parent47db4e3d53f3bdf624e63f6d890c01d5a0a0fb51 (diff)
downloadmeson-6a90d5d58781734149c637eb46dda5d90ddc03f7.zip
meson-6a90d5d58781734149c637eb46dda5d90ddc03f7.tar.gz
meson-6a90d5d58781734149c637eb46dda5d90ddc03f7.tar.bz2
Print value of werror in mesonconf
-rw-r--r--mesonbuild/mconf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index 67f2a91..03cbe55 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])