diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 17:31:04 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 18:14:27 +0100 |
commit | a26e6c73275d07c4f7bf80745ce26eb7aa8d941a (patch) | |
tree | e8d433fff41983c96ed15b631e84f71cc0e8cae2 /wscript | |
parent | b69a38d171758c6e979d74541fc21d12b7e6abda (diff) | |
parent | 8798f33f1a7f0ed33a847b23ea5f8cbc63bb294b (diff) | |
download | patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.tar.gz patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.tar.bz2 patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.zip |
Update autowaf and adapt to new API
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -22,9 +22,8 @@ out = 'build' def options(ctx): ctx.load('compiler_cxx') - autowaf.set_options(ctx) - opt = ctx.get_option_group('Configuration options') + opt = ctx.configuration_options() opt.add_option('--patchage-install-name', type='string', default=APPNAME, dest='patchage_install_name', help='patchage install name. [default: '' + APPNAME + '']') @@ -32,7 +31,7 @@ def options(ctx): dest='patchage_human_name', help='patchage human name [default: '' + APP_HUMAN_NAME + '']') - autowaf.add_flags( + ctx.add_flags( opt, {'jack-dbus': 'use Jack via D-Bus', 'jack-session-manage': 'include JACK session management support', @@ -41,7 +40,6 @@ def options(ctx): 'light-theme': 'use light coloured theme'}) def configure(conf): - autowaf.display_header('Patchage Configuration') conf.load('compiler_cxx', cache=True) conf.load('autowaf', cache=True) autowaf.set_cxx_lang(conf, 'c++11') |