From 61a4bf34a2668634bfeae0282d163c99baa949e4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Oct 2008 01:49:02 +0000 Subject: Factor more things into autowaf. Only call autowaf functions once no matter how many sub-projects call them (global counter, barf). Print pretty summary for everything with options, in order so you can see which project caused which check. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1581 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 55e99c7..53be6e5 100644 --- a/wscript +++ b/wscript @@ -17,6 +17,7 @@ srcdir = '.' blddir = 'build' def set_options(opt): + autowaf.set_options(opt) opt.tool_options('compiler_cxx') opt.add_option('--install-name', type='string', default=APPNAME, dest='app_install_name', help="Install name. [Default: '" + APPNAME + "']") @@ -30,6 +31,7 @@ def set_options(opt): help="Do not build Alsa Sequencer support") def configure(conf): + autowaf.configure(conf) if not conf.env['CXX']: conf.check_tool('compiler_cxx') if not conf.env['HAVE_DBUS']: @@ -89,8 +91,7 @@ def configure(conf): conf.write_config_header('waf-config.h') autowaf.print_summary(conf) - - print 'Patchage Configuration:' + print '= Patchage Configuration =' autowaf.display_msg("Install name", "'" + conf.env['APP_INSTALL_NAME'] + "'", 'CYAN') autowaf.display_msg("App human name", "'" + conf.env['APP_HUMAN_NAME'] + "'", 'CYAN') autowaf.display_msg("Jack (D-Bus)", str(bool(conf.env['HAVE_JACK_DBUS'])), 'YELLOW') -- cgit v1.2.1