From: Paul Brossier Date: Thu, 31 Jan 2019 01:42:45 +0000 (+0100) Subject: [waf] add shortcut to compile in debug mode X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=f862b85478065d5a23a9a3ff48c1093422eec278;p=aubio.git [waf] add shortcut to compile in debug mode --- diff --git a/wscript b/wscript index 0fef0484..2d1630a4 100644 --- a/wscript +++ b/wscript @@ -45,6 +45,9 @@ def options(ctx): 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')