aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-10-03 20:53:03 +0200
committerDavid Robillard <d@drobilla.net>2017-12-16 13:57:52 +0100
commit72c799ad8d126e9c84c7ec6be8edb4146f4523c8 (patch)
tree52efeab37b32d4e4ba50d938e7de52f35db7a377
parent87fe5b3202ba3d16a3ce255f1b4d8b98bb7ef8ca (diff)
downloadjalv-72c799ad8d126e9c84c7ec6be8edb4146f4523c8.tar.gz
jalv-72c799ad8d126e9c84c7ec6be8edb4146f4523c8.tar.bz2
jalv-72c799ad8d126e9c84c7ec6be8edb4146f4523c8.zip
Clean up wscript
-rw-r--r--wscript27
1 files changed, 14 insertions, 13 deletions
diff --git a/wscript b/wscript
index 4b0bfe5..ef3101f 100644
--- a/wscript
+++ b/wscript
@@ -15,32 +15,33 @@ VERSION = JALV_VERSION
top = '.'
out = 'build'
-def options(opt):
- opt.load('compiler_c')
- opt.load('compiler_cxx')
- autowaf.set_options(opt)
+def options(ctx):
+ ctx.load('compiler_c')
+ ctx.load('compiler_cxx')
+ autowaf.set_options(ctx)
+ opt = ctx.get_option_group('Configuration options')
opt.add_option('--portaudio', action='store_true', default=False,
dest='portaudio',
- help='Use PortAudio backend, not JACK')
+ help='use PortAudio backend, not JACK')
opt.add_option('--no-jack-session', action='store_true', default=False,
dest='no_jack_session',
- help='Do not build JACK session support')
+ help='do not build JACK session support')
opt.add_option('--no-gtk', action='store_true', default=False,
dest='no_gtk',
- help='Do not build Gtk GUI')
+ help='do not build Gtk GUI')
opt.add_option('--no-gtkmm', action='store_true', default=False,
dest='no_gtkmm',
- help='Do not build Gtkmm GUI')
+ help='do not build Gtkmm GUI')
opt.add_option('--no-gtk2', action='store_true', dest='no_gtk2',
- help='Do not build Gtk2 GUI')
+ help='do not build Gtk2 GUI')
opt.add_option('--no-gtk3', action='store_true', dest='no_gtk3',
- help='Do not build Gtk3 GUI')
+ help='do not build Gtk3 GUI')
opt.add_option('--no-qt', action='store_true', default=False, dest='no_qt',
- help='Do not build Qt GUI')
+ help='do not build Qt GUI')
opt.add_option('--no-qt4', action='store_true', dest='no_qt4',
- help='Do not build Qt4 GUI')
+ help='do not build Qt4 GUI')
opt.add_option('--no-qt5', action='store_true', dest='no_qt5',
- help='Do not build Qt5 GUI')
+ help='do not build Qt5 GUI')
def configure(conf):
conf.line_just = 52