aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-02-18 16:45:27 -0500
committerDavid Robillard <d@drobilla.net>2015-02-18 16:45:27 -0500
commit9b4b2b68f50db95da7d63a62a8ebee90be58da58 (patch)
tree553a61146a9f66f39c68e74950565e531bd3862d /plugins/wscript
parent3520e1fba6c5ab47b5f01c6f0755abe45d622a6d (diff)
downloadlv2-9b4b2b68f50db95da7d63a62a8ebee90be58da58.tar.xz
Add preliminary C++ work.
Diffstat (limited to 'plugins/wscript')
-rw-r--r--plugins/wscript11
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/wscript b/plugins/wscript
index f099183..28e5e02 100644
--- a/plugins/wscript
+++ b/plugins/wscript
@@ -15,7 +15,7 @@ def bld_book_src(task):
filenames += [i.abspath()]
literasc.gen(open(task.outputs[0].abspath(), 'w'), filenames)
-
+
def build(bld):
files = [bld.path.find_node('README.txt')]
for i in ['eg-amp.lv2',
@@ -29,6 +29,14 @@ def build(bld):
files += bld.path.ant_glob('%s/*.ttl' % i)
files += bld.path.ant_glob('%s/*.c' % i)
+ if bld.env.BUILD_CXX:
+ for i in ['eg-amppp.lv2']:
+ print i
+ files += bld.path.ant_glob('%s/*.txt' % i)
+ files += bld.path.ant_glob('%s/manifest.ttl*' % i)
+ files += bld.path.ant_glob('%s/*.ttl' % i)
+ files += bld.path.ant_glob('%s/*.cpp' % i)
+
# Compile book sources into book.txt asciidoc source
bld(rule = bld_book_src,
source = files,
@@ -41,4 +49,3 @@ def build(bld):
stylesdir, pygments_style),
source = 'book.txt',
target = 'book.html')
-