diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-21 12:34:10 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-21 12:34:10 -0500 |
commit | 2d18283379927c661e6862a769a7b8bd8763b743 (patch) | |
tree | 535dc715fc4408025296932649d7ca80d91a6152 /wscript | |
parent | 344cf05540126a96d875bd124c804a8df3eac4e8 (diff) |
make threaded waveview rendering a configure time option (enabled by default)
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -741,6 +741,8 @@ def options(opt): help='Turn on AddressSanitizer (requires GCC >= 4.8 or clang >= 3.1)') opt.add_option('--ptformat', action='store_true', default=False, dest='ptformat', help='Turn on PT session import option') + opt.add_option('--no-threaded-waveviews', action='store_true', default=False, dest='no_threaded_waveviews', + help='Disable threaded waveview rendering') for i in children: opt.recurse(i) @@ -1079,7 +1081,10 @@ int main () { return 0; } if opts.ptformat: conf.define('PTFORMAT', 1) conf.env['PTFORMAT'] = True - + if opts.no_threaded_waveviews: + conf.define('NO_THREADED_WAVEVIEWS', 1) + conf.env['NO_THREADED_WAVEVIEWS'] = True + backends = opts.with_backends.split(',') if not backends: |