From cb5e934666e128e27faa95587fbdecf01f0e324d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 6 Jan 2010 23:49:17 +0000 Subject: Do all logging output via Raul streams. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2349 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') 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') -- cgit v1.2.1