diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-23 22:23:51 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-23 22:38:18 +0300 |
commit | b6e8809f25d5b86ccd8cf6c4532778a74e214c18 (patch) | |
tree | 8c75852fddac7e61b8cadecf8683c3ff325902a3 /mesonbuild/mintro.py | |
parent | 436eab9b85d78e36c66afa650059d0ebe5b156c5 (diff) | |
download | meson-b6e8809f25d5b86ccd8cf6c4532778a74e214c18.zip meson-b6e8809f25d5b86ccd8cf6c4532778a74e214c18.tar.gz meson-b6e8809f25d5b86ccd8cf6c4532778a74e214c18.tar.bz2 |
Added minsize build type that optimizes for binary size.
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r-- | mesonbuild/mintro.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 955d12b..629b0fc 100644 --- a/mesonbuild/mintro.py +++ b/mesonbuild/mintro.py @@ -79,7 +79,6 @@ def list_target_files(target_name, coredata, builddata): try: t = builddata.targets[target_name] sources = t.sources + t.extra_files - subdir = t.subdir except KeyError: print("Unknown target %s." % target_name) sys.exit(1) @@ -87,7 +86,7 @@ def list_target_files(target_name, coredata, builddata): print(json.dumps(sources)) def list_buildoptions(coredata, builddata): - buildtype= {'choices': ['plain', 'debug', 'debugoptimized', 'release'], + buildtype= {'choices': ['plain', 'debug', 'debugoptimized', 'release', 'minsize'], 'type' : 'combo', 'value' : coredata.get_builtin_option('buildtype'), 'description' : 'Build type', |