summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-06 23:49:17 +0000
committerDavid Robillard <d@drobilla.net>2010-01-06 23:49:17 +0000
commitcb5e934666e128e27faa95587fbdecf01f0e324d (patch)
tree1e694e2812381efbb3eb4b5ace2cdecc118b29f6 /wscript
parent092eb35edb999a9dd809e197d7dd9a4ebb0d6bd5 (diff)
downloadingen-cb5e934666e128e27faa95587fbdecf01f0e324d.tar.gz
ingen-cb5e934666e128e27faa95587fbdecf01f0e324d.tar.bz2
ingen-cb5e934666e128e27faa95587fbdecf01f0e324d.zip
Do all logging output via Raul streams.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2349 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index d359c703..e9321373 100644
--- a/wscript
+++ b/wscript
@@ -22,6 +22,8 @@ def set_options(opt):
help="Ingen module install directory [Default: PREFIX/lib/ingen]")
opt.add_option('--no-liblo', action='store_true', default=False, dest='no_liblo',
help="Do not build OSC via liblo support, even if liblo exists")
+ opt.add_option('--log-debug', action='store_true', default=False, dest='log_debug',
+ help="Print debugging output")
def configure(conf):
autowaf.configure(conf)
@@ -64,6 +66,9 @@ def configure(conf):
conf.env['DATADIR'], 'ingen'))
conf.define('INGEN_MODULE_DIR', os.path.join(
conf.env['LIBDIR'], 'ingen'))
+
+ if Options.options.log_debug:
+ conf.define('LOG_DEBUG', 1)
conf.write_config_header('ingen-config.h')