aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:03 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commitada3add535204d69b5f29a41fe03ed71330d4cfd (patch)
tree7baaf187de01c826dea239094c2d9d4007e6459e /wscript
parent72741e7bc14a1b3286d2b545426387e874c10c68 (diff)
parent69deb1ab7f622d04e9f1ef132cf3577abf9053a0 (diff)
downloadjalv-ada3add535204d69b5f29a41fe03ed71330d4cfd.tar.gz
jalv-ada3add535204d69b5f29a41fe03ed71330d4cfd.tar.bz2
jalv-ada3add535204d69b5f29a41fe03ed71330d4cfd.zip
Update autowaf and adapt to new API
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 2 insertions, 6 deletions
diff --git a/wscript b/wscript
index 758678f..520fade 100644
--- a/wscript
+++ b/wscript
@@ -20,10 +20,8 @@ out = 'build'
def options(ctx):
ctx.load('compiler_c')
ctx.load('compiler_cxx')
- autowaf.set_options(ctx)
- opt = ctx.get_option_group('Configuration options')
- autowaf.add_flags(
- opt,
+ ctx.add_flags(
+ ctx.configuration_options(),
{'portaudio': 'use PortAudio backend, not JACK',
'no-jack-session': 'do not build JACK session support',
'no-gui': 'do not build any GUIs',
@@ -36,8 +34,6 @@ def options(ctx):
'no-qt5': 'do not build Qt5 GUI'})
def configure(conf):
- autowaf.display_header('Jalv Configuration')
- autowaf.set_line_just(conf, 45)
conf.load('compiler_c', cache=True)
conf.load('compiler_cxx', cache=True)
conf.load('autowaf', cache=True)