summaryrefslogtreecommitdiff
path: root/meson.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-11-03 03:03:54 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-11-03 03:03:54 +0200
commite2313b85d7f0d10c0995ea9887bee00c2763290a (patch)
tree84ee6761ec41ba330df81eb864b06d03aefe6988 /meson.py
parente96a31cce4bec7e734ef56624212441e4702cf0e (diff)
downloadmeson-e2313b85d7f0d10c0995ea9887bee00c2763290a.tar.gz
Refactored builtin options to a dictionary and created a new default library target type.
Diffstat (limited to 'meson.py')
-rwxr-xr-xmeson.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.py b/meson.py
index 4c8e171e6..17c1e9e3f 100755
--- a/meson.py
+++ b/meson.py
@@ -68,6 +68,8 @@ parser.add_argument('--werror', action='store_true', dest='werror', default=Fals
help='Treat warnings as errors')
parser.add_argument('--layout', choices=layouts, dest='layout', default='mirror',\
help='Build directory layout.')
+parser.add_argument('--default-library', choices=['shared', 'static'], dest='default_library',
+ default='static', help='Default library type.')
parser.add_argument('--warnlevel', default=default_warning, dest='warning_level', choices=warning_levels,\
help='Level of compiler warnings to use (larger is more, default is %(default)s)')
parser.add_argument('--cross-file', default=None, dest='cross_file',