summaryrefslogtreecommitdiff
path: root/mesonbuild/coredata.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-06-23 22:23:51 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-06-23 22:38:18 +0300
commitb6e8809f25d5b86ccd8cf6c4532778a74e214c18 (patch)
tree8c75852fddac7e61b8cadecf8683c3ff325902a3 /mesonbuild/coredata.py
parent436eab9b85d78e36c66afa650059d0ebe5b156c5 (diff)
downloadmeson-b6e8809f25d5b86ccd8cf6c4532778a74e214c18.tar.gz
Added minsize build type that optimizes for binary size.
Diffstat (limited to 'mesonbuild/coredata.py')
-rw-r--r--mesonbuild/coredata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index 494c89f68..21b907e2d 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -198,7 +198,7 @@ def get_builtin_option_default(optname):
raise RuntimeError('Tried to get the default value for an unknown builtin option \'%s\'.' % optname)
builtin_options = {
- 'buildtype' : [ UserComboOption, 'Build type to use.', [ 'plain', 'debug', 'debugoptimized', 'release' ], 'debug' ],
+ 'buildtype' : [ UserComboOption, 'Build type to use.', [ 'plain', 'debug', 'debugoptimized', 'release', 'minsize' ], 'debug' ],
'strip' : [ UserBooleanOption, 'Strip targets on install.', False ],
'unity' : [ UserBooleanOption, 'Unity build.', False ],
'prefix' : [ UserStringOption, 'Installation prefix.', default_prefix() ],