diff options
author | David Robillard <d@drobilla.net> | 2017-10-07 13:17:09 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-16 14:00:56 +0100 |
commit | 2895b4fbd8e0d886de4b6a7fec1442ea2ac4c82a (patch) | |
tree | 60633192355c153e387184560407a057341f4162 /wscript | |
parent | 18e652993fd76bc0e192ffc6dbd3344381429136 (diff) | |
download | sratom-2895b4fbd8e0d886de4b6a7fec1442ea2ac4c82a.tar.gz sratom-2895b4fbd8e0d886de4b6a7fec1442ea2ac4c82a.tar.bz2 sratom-2895b4fbd8e0d886de4b6a7fec1442ea2ac4c82a.zip |
Clean up waf options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -18,13 +18,14 @@ VERSION = SRATOM_VERSION # Package version for waf dist top = '.' # Source directory out = 'build' # Build directory -def options(opt): - opt.load('compiler_c') - autowaf.set_options(opt, test=True) +def options(ctx): + ctx.load('compiler_c') + autowaf.set_options(ctx, test=True) + opt = ctx.get_option_group('Configuration options') 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') def configure(conf): conf.load('compiler_c') |