summaryrefslogtreecommitdiff
path: root/examples/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wscript')
-rw-r--r--examples/wscript12
1 files changed, 10 insertions, 2 deletions
diff --git a/examples/wscript b/examples/wscript
index 05cca98f..abb0885c 100644
--- a/examples/wscript
+++ b/examples/wscript
@@ -1,8 +1,16 @@
def build(bld):
obj = bld(features = 'cxx cxxprogram')
- obj.name = 'examples'
- obj.use = 'libdcp'
+ obj.name = 'make_dcp'
+ obj.use = 'libdcp%s' % bld.env.API_VERSION
obj.uselib = 'OPENJPEG CXML'
obj.source = 'make_dcp.cc'
obj.target = 'make_dcp'
obj.install_path = ''
+
+ obj = bld(features = 'cxx cxxprogram')
+ obj.name = 'read_dcp'
+ obj.use = 'libdcp%s' % bld.env.API_VERSION
+ obj.uselib = 'OPENJPEG CXML MAGICK'
+ obj.source = 'read_dcp.cc'
+ obj.target = 'read_dcp'
+ obj.install_path = ''