Bump version
[libdcp.git] / examples / wscript
index 05cca98fa60bafff752827e7b9ad99bbad0392e9..abb0885c4159141695043146cdbaebc590da5850 100644 (file)
@@ -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 = ''