diff options
author | David Robillard <d@drobilla.net> | 2017-12-26 14:41:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-29 12:30:55 -0500 |
commit | d08d4cca692e7260c02059cd78bba1d91fbc217e (patch) | |
tree | 2472d2285a6b296bb90210a5503a8ffbae9a063e /wscript | |
parent | e37850ce40b2c99cb08b5accbdd1c314c00dbc8e (diff) | |
download | sord-d08d4cca692e7260c02059cd78bba1d91fbc217e.tar.gz sord-d08d4cca692e7260c02059cd78bba1d91fbc217e.tar.bz2 sord-d08d4cca692e7260c02059cd78bba1d91fbc217e.zip |
Upgrade to waf 2.0.3
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -37,16 +37,16 @@ def options(ctx): help='dump debugging output (iter, search, write, all)') def configure(conf): - conf.load('compiler_c') + autowaf.display_header('Sord configuration') + conf.load('compiler_c', cache=True) if Options.options.build_tests: try: - conf.load('compiler_cxx') + conf.load('compiler_cxx', cache=True) except: Logs.warn("No C++ compiler, sordmm.hpp compile test skipped") pass - autowaf.configure(conf) - autowaf.display_header('Sord configuration') + conf.load('autowaf', cache=True) conf.env.BUILD_UTILS = not Options.options.no_utils conf.env.BUILD_SHARED = not Options.options.no_shared @@ -84,6 +84,7 @@ def configure(conf): autowaf.set_lib_env(conf, 'sord', SORD_VERSION) conf.write_config_header('sord_config.h', remove=False) + autowaf.display_summary(conf) autowaf.display_msg(conf, 'Static library', bool(conf.env.BUILD_STATIC)) autowaf.display_msg(conf, 'Shared library', bool(conf.env.BUILD_SHARED)) autowaf.display_msg(conf, 'Utilities', bool(conf.env.BUILD_UTILS)) |