aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-14 11:21:53 +0100
committerDavid Robillard <d@drobilla.net>2020-03-14 11:21:53 +0100
commit554ac923e8973b7496f96e30a56eaaf9d30b6108 (patch)
treea0a3070325edd6e9f89a6267c2c5fd107cf0ae37 /wscript
parente09f204aca2393ba0f78867eb2e284ab00091205 (diff)
downloadpugl-554ac923e8973b7496f96e30a56eaaf9d30b6108.tar.gz
pugl-554ac923e8973b7496f96e30a56eaaf9d30b6108.tar.bz2
pugl-554ac923e8973b7496f96e30a56eaaf9d30b6108.zip
Add logging API
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 1 insertions, 6 deletions
diff --git a/wscript b/wscript
index a80492d..b197d29 100644
--- a/wscript
+++ b/wscript
@@ -34,7 +34,6 @@ def options(ctx):
'no-cairo': 'do not build Cairo support',
'no-static': 'do not build static library',
'no-shared': 'do not build shared library',
- 'log': 'print GL information to console',
'grab-focus': 'work around keyboard issues by grabbing focus'})
ctx.get_option_group('Test options').add_option(
@@ -126,9 +125,6 @@ def configure(conf):
system = True,
mandatory = False)
- if Options.options.log:
- conf.define('PUGL_VERBOSE', 1)
-
conf.env.update({
'BUILD_SHARED': not Options.options.no_shared,
'BUILD_STATIC': conf.env.BUILD_TESTS or not Options.options.no_static})
@@ -141,8 +137,7 @@ def configure(conf):
{"Build static library": bool(conf.env.BUILD_STATIC),
"Build shared library": bool(conf.env.BUILD_SHARED),
"OpenGL support": bool(conf.env.HAVE_GL),
- "Cairo support": bool(conf.env.HAVE_CAIRO),
- "Verbose console output": conf.is_defined('PUGL_VERBOSE')})
+ "Cairo support": bool(conf.env.HAVE_CAIRO)})
def _build_pc_file(bld, name, desc, target, libname, deps={}, requires=[]):