summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-12-13 20:54:18 -0500
committerDavid Robillard <d@drobilla.net>2016-12-14 14:47:13 -0500
commit74f83ee8aa39d9fded35e07c9418c38ababcd9a7 (patch)
tree7461cd602c6e6238cd3127d5373ae8577f90a20e /wscript
parente7b2f7ee286350bc3bb56b44ed98e4d8bf49af82 (diff)
downloadingen-74f83ee8aa39d9fded35e07c9418c38ababcd9a7.tar.gz
ingen-74f83ee8aa39d9fded35e07c9418c38ababcd9a7.tar.bz2
ingen-74f83ee8aa39d9fded35e07c9418c38ababcd9a7.zip
Add option to not build LV2 plugin
Diffstat (limited to 'wscript')
-rw-r--r--wscript18
1 files changed, 12 insertions, 6 deletions
diff --git a/wscript b/wscript
index d1f27795..76a5ba69 100644
--- a/wscript
+++ b/wscript
@@ -31,6 +31,8 @@ def options(opt):
help='Do not build client library (or GUI)')
opt.add_option('--no-jack', action='store_true', dest='no_jack',
help='Do not build jack backend (for ingen.lv2 only)')
+ opt.add_option('--no-plugin', action='store_true', dest='no_plugin',
+ help='Do not build ingen.lv2 plugin')
opt.add_option('--no-python', action='store_true', dest='no_python',
help='Do not install Python bindings')
opt.add_option('--no-webkit', action='store_true', dest='no_webkit',
@@ -120,6 +122,9 @@ def configure(conf):
if not Options.options.no_python:
conf.check_python_version((2,4,0), mandatory=False)
+ if not Options.options.no_plugin:
+ autowaf.define(conf, 'INGEN_BUILD_LV2', 1)
+
if not Options.options.no_jack:
autowaf.check_pkg(conf, 'jack', uselib_store='JACK',
atleast_version='0.120.0', mandatory=False)
@@ -179,17 +184,18 @@ def configure(conf):
conf.write_config_header('ingen_config.h', remove=False)
- autowaf.display_msg(conf, "Jack", bool(conf.env.HAVE_JACK))
+ autowaf.display_msg(conf, "GUI", bool(conf.env.INGEN_BUILD_GUI))
+ autowaf.display_msg(conf, "HTML plugin documentation support",
+ bool(conf.env.HAVE_WEBKIT))
+ autowaf.display_msg(conf, "Jack driver", bool(conf.env.HAVE_JACK))
autowaf.display_msg(conf, "Jack session support",
bool(conf.env.INGEN_JACK_SESSION))
autowaf.display_msg(conf, "Jack metadata support",
conf.is_defined('HAVE_JACK_METADATA'))
- autowaf.display_msg(conf, "Socket interface", conf.is_defined('HAVE_SOCKET'))
- autowaf.display_msg(conf, "LV2", bool(conf.env.HAVE_LILV))
- autowaf.display_msg(conf, "GUI", bool(conf.env.INGEN_BUILD_GUI))
+ autowaf.display_msg(conf, "LV2 plugin driver", bool(conf.env.INGNE_BUILD_LV2))
autowaf.display_msg(conf, "LV2 bundle", conf.env.INGEN_BUNDLE_DIR)
- autowaf.display_msg(conf, "HTML plugin documentation support",
- bool(conf.env.HAVE_WEBKIT))
+ autowaf.display_msg(conf, "LV2 plugin support", bool(conf.env.HAVE_LILV))
+ autowaf.display_msg(conf, "Socket interface", conf.is_defined('HAVE_SOCKET'))
print('')
def build(bld):