diff options
author | David Robillard <d@drobilla.net> | 2015-02-18 16:45:27 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-02-18 16:45:27 -0500 |
commit | 9b4b2b68f50db95da7d63a62a8ebee90be58da58 (patch) | |
tree | 553a61146a9f66f39c68e74950565e531bd3862d /plugins/wscript | |
parent | 3520e1fba6c5ab47b5f01c6f0755abe45d622a6d (diff) | |
download | lv2-9b4b2b68f50db95da7d63a62a8ebee90be58da58.tar.xz |
Add preliminary C++ work.
Diffstat (limited to 'plugins/wscript')
-rw-r--r-- | plugins/wscript | 11 |
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') - |