aboutsummaryrefslogtreecommitdiff
path: root/mesonconf.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-03-26 00:12:56 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-03-26 00:12:56 +0200
commit11a9f61e51dd8d2d9bef210b32e9f98639c3fb4d (patch)
treee13976296c16b4343185f5d70ba3a013ceba204c /mesonconf.py
parentd53c00db13d144ee8c5430c11c490c1ec87f9fc7 (diff)
downloadmeson-11a9f61e51dd8d2d9bef210b32e9f98639c3fb4d.zip
meson-11a9f61e51dd8d2d9bef210b32e9f98639c3fb4d.tar.gz
meson-11a9f61e51dd8d2d9bef210b32e9f98639c3fb4d.tar.bz2
Renamed buildtype from "type" to "buildtype" for consistency.
Diffstat (limited to 'mesonconf.py')
-rwxr-xr-xmesonconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonconf.py b/mesonconf.py
index e84c9e5..8773aa0 100755
--- a/mesonconf.py
+++ b/mesonconf.py
@@ -76,7 +76,7 @@ class Conf:
if '=' not in o:
raise ConfException('Value "%s" not of type "a=b".' % o)
(k, v) = o.split('=', 1)
- if k == 'type':
+ if k == 'buildtype':
if v not in build_types:
raise ConfException('Invalid build type %s.' % v)
self.coredata.buildtype = v
@@ -157,7 +157,7 @@ class Conf:
print('')
print('Core options\n')
carr = []
- carr.append(['type', 'Build type', self.coredata.buildtype])
+ carr.append(['buildtype', 'Build type', self.coredata.buildtype])
carr.append(['strip', 'Strip on install', self.coredata.strip])
carr.append(['coverage', 'Coverage report', self.coredata.coverage])
carr.append(['pch', 'Precompiled headers', self.coredata.use_pch])