Allow construction of empty PictureFrames; some accessors.
[libdcp.git] / examples / wscript
index 46d3287baff781a193dc10a742e06b1ca3afdd95..abb0885c4159141695043146cdbaebc590da5850 100644 (file)
@@ -1,8 +1,16 @@
 def build(bld):
     obj = bld(features = 'cxx cxxprogram')
-    obj.name   = 'examples'
-    obj.use    = 'libdcp'
-    obj.uselib = 'OPENJPEG'
+    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 = ''