aboutsummaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript13
1 files changed, 7 insertions, 6 deletions
diff --git a/wscript b/wscript
index 8bf7b9a..bdcfbf1 100644
--- a/wscript
+++ b/wscript
@@ -69,12 +69,13 @@ def configure(conf):
autowaf.set_lib_env(conf, 'pugl', PUGL_VERSION)
conf.write_config_header('pugl_config.h', remove=False)
- autowaf.display_msg(conf, "OpenGL support", conf.is_defined('HAVE_GL'))
- autowaf.display_msg(conf, "Cairo support", conf.is_defined('HAVE_CAIRO'))
- autowaf.display_msg(conf, "Verbose console output", conf.is_defined('PUGL_VERBOSE'))
- autowaf.display_msg(conf, "Static library", str(conf.env['BUILD_STATIC']))
- autowaf.display_msg(conf, "Unit tests", str(conf.env['BUILD_TESTS']))
- print('')
+ autowaf.display_summary(
+ conf,
+ {"Build static library": bool(conf.env['BUILD_STATIC']),
+ "Build shared library": bool(conf.env['BUILD_SHARED']),
+ "OpenGL support": conf.is_defined('HAVE_GL'),
+ "Cairo support": conf.is_defined('HAVE_CAIRO'),
+ "Verbose console output": conf.is_defined('PUGL_VERBOSE')})
def build(bld):
# C Headers