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 | f50b54a4625e35bf09b5aef2ff44f57deef9865d (patch) | |
tree | 6a3de62c005099f0818e3bbc1968eb581f451364 | |
parent | eb57e325abcfef5324b428092a52fd440ffb3126 (diff) | |
download | raul-f50b54a4625e35bf09b5aef2ff44f57deef9865d.tar.gz raul-f50b54a4625e35bf09b5aef2ff44f57deef9865d.tar.bz2 raul-f50b54a4625e35bf09b5aef2ff44f57deef9865d.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/raul@1581 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -24,9 +24,11 @@ srcdir = '.' blddir = 'build' def set_options(opt): + autowaf.set_options(opt) opt.tool_options('compiler_cxx') def configure(conf): + autowaf.configure(conf) if not conf.env['CXX']: conf.check_tool('compiler_cxx') if not conf.env['HAVE_GLIBMM']: @@ -34,7 +36,12 @@ def configure(conf): if not conf.env['HAVE_GTHREAD']: conf.check_pkg('gthread-2.0', destvar='GTHREAD', vnum='2.16.0', mandatory=True) if not conf.env['HAVE_JACK']: - conf.check_pkg('jack', destvar='JACK', vnum='0.107.0', mandatory=True) + conf.check_pkg('jack', destvar='JACK', vnum='0.107.0', mandatory=False) + + autowaf.print_summary(conf) + print '= Raul Configuration =' + autowaf.display_msg("Jack", str(bool(conf.env['HAVE_JACK'])), 'YELLOW') + print def build(bld): # Headers |