aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
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)
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169