summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-10-07 12:48:46 +0200
committerDavid Robillard <d@drobilla.net>2017-12-16 13:58:10 +0100
commitc33b54b3182e339bfdb2ea51f02f59f9ad778d21 (patch)
treef639e8b1cd333bdcc1b4a25b6deeb1c394fa9311
parenta473f94e02d329fc6a4da044a455efa0a9f18db6 (diff)
downloadlilv-c33b54b3182e339bfdb2ea51f02f59f9ad778d21.tar.gz
lilv-c33b54b3182e339bfdb2ea51f02f59f9ad778d21.tar.bz2
lilv-c33b54b3182e339bfdb2ea51f02f59f9ad778d21.zip
Clean up waf options
-rw-r--r--wscript27
1 files changed, 14 insertions, 13 deletions
diff --git a/wscript b/wscript
index aae1afd..d4f8de8 100644
--- a/wscript
+++ b/wscript
@@ -35,29 +35,30 @@ test_plugins = [
'old_version'
]
-def options(opt):
- opt.load('compiler_c')
- opt.load('compiler_cxx')
- opt.load('python')
- autowaf.set_options(opt, test=True)
+def options(ctx):
+ ctx.load('compiler_c')
+ ctx.load('compiler_cxx')
+ ctx.load('python')
+ autowaf.set_options(ctx, test=True)
+ opt = ctx.get_option_group('Configuration options')
opt.add_option('--no-utils', action='store_true', dest='no_utils',
- help='Do not build command line utilities')
+ help='do not build command line utilities')
opt.add_option('--bindings', action='store_true', dest='bindings',
- help='Build python bindings')
+ help='build python bindings')
opt.add_option('--dyn-manifest', action='store_true', dest='dyn_manifest',
- help='Build support for dynamic manifests')
+ help='build support for dynamic manifests')
opt.add_option('--no-bash-completion', action='store_true',
dest='no_bash_completion',
- help='Do not install bash completion script in CONFIGDIR')
+ help='do not install bash completion script in CONFIGDIR')
opt.add_option('--static', action='store_true', dest='static',
- help='Build static library')
+ help='build static library')
opt.add_option('--no-shared', action='store_true', dest='no_shared',
- help='Do not build shared library')
+ help='do not build shared library')
opt.add_option('--static-progs', action='store_true', dest='static_progs',
- help='Build programs as static binaries')
+ help='build programs as static binaries')
opt.add_option('--default-lv2-path', type='string', default='',
dest='default_lv2_path',
- help='Default LV2 path to use if LV2_PATH is unset')
+ help='default LV2 path to use if LV2_PATH is unset')
def configure(conf):
conf.load('compiler_c')