diff options
author | David Robillard <d@drobilla.net> | 2012-08-05 20:38:37 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-05 20:38:37 +0000 |
commit | ad3cc31f292d1e88b2f0b750de29239109fbb74b (patch) | |
tree | 9127bb1fee7b8ec03324b195fa07a2c2a0868bd8 | |
parent | 76a454a4b6c565d80e683be00d132964d6f73996 (diff) | |
download | lv2-ad3cc31f292d1e88b2f0b750de29239109fbb74b.tar.xz |
Actually build plugins.
-rw-r--r-- | wscript | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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) |