From 6f6ab43c58693a6c509500d5365eb36ad4a2a571 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Aug 2014 22:50:20 +0000 Subject: Add compile-time feature to log URID mapping. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5458 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 6988a478..82650d55 100644 --- a/wscript +++ b/wscript @@ -32,6 +32,8 @@ def options(opt): help='Do not build Socket interface') opt.add_option('--test', action='store_true', dest='build_tests', help='Build unit tests') + opt.add_option('--debug-urids', action='store_true', dest='debug_urids', + help='Print a trace of URI mapping') def configure(conf): conf.load('compiler_cxx') @@ -86,6 +88,8 @@ def configure(conf): mandatory=False) if not Options.options.no_jack_session: autowaf.define(conf, 'INGEN_JACK_SESSION', 1) + if Options.options.debug_urids: + autowaf.define(conf, 'INGEN_DEBUG_URIDS', 1) conf.check(function_name='jack_set_property', header_name='jack/metadata.h', -- cgit v1.2.1