ref: f862b85478065d5a23a9a3ff48c1093422eec278
parent: 65a4fb4d95e51cf33ee9f90a5dfb20f5addd9f7c
author: Paul Brossier <piem@piem.org>
date: Wed Jan 30 21:42:45 EST 2019
[waf] add shortcut to compile in debug mode
--- a/wscript
+++ b/wscript
@@ -45,6 +45,9 @@
help = 'whether to compile with (--build-type=release)' \
' or without (--build-type=debug)' \
' compiler opimizations [default: release]')
+ ctx.add_option('--debug', action = 'store_const',
+ dest = 'build_type', const = 'debug',
+ help = 'build in debug mode (see --build-type)')
add_option_enable_disable(ctx, 'fftw3f', default = False,
help_str = 'compile with fftw3f instead of ooura (recommended)',
help_disable_str = 'do not compile with fftw3f')