aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-05 20:38:37 +0000
committerDavid Robillard <d@drobilla.net>2012-08-05 20:38:37 +0000
commitad3cc31f292d1e88b2f0b750de29239109fbb74b (patch)
tree9127bb1fee7b8ec03324b195fa07a2c2a0868bd8 /wscript
parent76a454a4b6c565d80e683be00d132964d6f73996 (diff)
downloadlv2-ad3cc31f292d1e88b2f0b750de29239109fbb74b.tar.xz
Actually build plugins.
Diffstat (limited to 'wscript')
-rw-r--r--wscript13
1 files changed, 9 insertions, 4 deletions
diff --git a/wscript b/wscript
index 833a01c..1604bf3 100644
--- a/wscript
+++ b/wscript
@@ -282,10 +282,6 @@ def build(bld):
source = bld.path.find_node(lv2_h_path),
target = bld.path.get_bld().make_node(lv2_h_path))
- # Build extensions
- for i in exts:
- build_ext(bld, i.srcpath())
-
# LV2 pkgconfig file
bld(features = 'subst',
source = 'lv2.pc.in',
@@ -295,6 +291,15 @@ def build(bld):
INCLUDEDIR = bld.env['INCLUDEDIR'],
VERSION = VERSION)
+ # Build extensions
+ for i in exts:
+ build_ext(bld, i.srcpath())
+
+ # Build plugins
+ if bld.env['BUILD_PLUGINS']:
+ for i in bld.path.ant_glob('plugins/*', dir=True):
+ bld.recurse(i.srcpath())
+
if bld.env['DOCS']:
# Build Doxygen documentation (and tags file)
autowaf.build_dox(bld, 'LV2', VERSION, top, out)