From be661ccd1a3d15e3d60a3588173f6bfe727822d7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Oct 2017 12:50:05 +0200 Subject: Clean up waf options --- wscript | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/wscript b/wscript index 594551f..d55c12e 100644 --- a/wscript +++ b/wscript @@ -13,13 +13,14 @@ VERSION = BLOP_VERSION # Package version for waf dist top = '.' # Source directory out = 'build' # Build directory -def options(opt): - opt.load('compiler_c') - opt.load('lv2') - autowaf.set_options(opt) +def options(ctx): + ctx.load('compiler_c') + ctx.load('lv2') + autowaf.set_options(ctx) + opt = ctx.get_option_group('Configuration options') opt.add_option('--rate', type='int', default=48000, dest='rate', - help='Ideal sample rate for oscillator wave tables [Default: 48000]') + help='ideal sample rate for oscillator wave tables [Default: 48000]') def configure(conf): conf.load('compiler_c') -- cgit v1.2.1