diff options
author | David Robillard <d@drobilla.net> | 2008-10-02 01:49:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-02 01:49:02 +0000 |
commit | 61a4bf34a2668634bfeae0282d163c99baa949e4 (patch) | |
tree | 91bde99fbd3ec534c923aba5b49d2bbabfe474b9 | |
parent | cdc04eddccf36eed3a43d696da073a523a9af559 (diff) | |
download | patchage-61a4bf34a2668634bfeae0282d163c99baa949e4.tar.gz patchage-61a4bf34a2668634bfeae0282d163c99baa949e4.tar.bz2 patchage-61a4bf34a2668634bfeae0282d163c99baa949e4.zip |
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
-rw-r--r-- | wscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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') |