From ad3cc31f292d1e88b2f0b750de29239109fbb74b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Aug 2012 20:38:37 +0000 Subject: Actually build plugins. --- wscript | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'wscript') 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) -- cgit v1.2.1