summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-26 14:41:03 -0500
committerDavid Robillard <d@drobilla.net>2017-12-29 14:55:10 -0500
commitc307bd9d03c9e11d1012c3fef8aaca4cc9ddc9a2 (patch)
tree5b068717ebb8f18c425e179657e37136ff240c19 /wscript
parent525a66bc3730fe78a6ec0d2598dac2a6a790df23 (diff)
downloadsuil-c307bd9d03c9e11d1012c3fef8aaca4cc9ddc9a2.tar.gz
suil-c307bd9d03c9e11d1012c3fef8aaca4cc9ddc9a2.tar.bz2
suil-c307bd9d03c9e11d1012c3fef8aaca4cc9ddc9a2.zip
Upgrade to waf 2.0.3
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 5 insertions, 4 deletions
diff --git a/wscript b/wscript
index 0c994ba..ea785f3 100644
--- a/wscript
+++ b/wscript
@@ -39,11 +39,11 @@ def options(ctx):
help="Gtk3 library name [Default: libgtk-x11-3.0.so.0]")
def configure(conf):
- conf.line_just = 42
- conf.load('compiler_c')
- conf.load('compiler_cxx')
- autowaf.configure(conf)
autowaf.display_header('Suil Configuration')
+ autowaf.set_line_just(conf, 42)
+ conf.load('compiler_c', cache=True)
+ conf.load('compiler_cxx', cache=True)
+ conf.load('autowaf', cache=True)
conf.env.BUILD_SHARED = not conf.options.no_shared
conf.env.BUILD_STATIC = conf.options.static
@@ -155,6 +155,7 @@ def configure(conf):
autowaf.set_lib_env(conf, 'suil', SUIL_VERSION)
conf.write_config_header('suil_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))