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 | d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6 (patch) | |
tree | d81fd8856bac66afe92e954b8ab91bccd3ff8064 | |
parent | 3c5399a7708cdfdb1ea71005c1ef109290442702 (diff) | |
download | lilv-d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6.tar.gz lilv-d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6.tar.bz2 lilv-d90874e56f8ec03cadf6ec3647f28a0f31aaa8e6.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/slv2@1581 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -35,9 +35,11 @@ srcdir = '.' blddir = 'build' def set_options(opt): + autowaf.set_options(opt) opt.tool_options('compiler_cc') def configure(conf): + autowaf.configure(conf) if not conf.env['CC']: conf.check_tool('compiler_cc') if not conf.env['HAVE_LV2CORE']: @@ -51,6 +53,11 @@ def configure(conf): conf.write_config_header('waf-config.h') conf.env.append_value('CCFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"') conf.env.append_value('CCFLAGS', '-DPACKAGE_VERSION=\\\"' + VERSION + '\\\"') + + autowaf.print_summary(conf) + print '= SLV2 Configuration =' + autowaf.display_msg("Jack clients", str(bool(conf.env['HAVE_JACK'])), 'YELLOW') + print def build(bld): # C Headers |