X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=examples%2Fwscript;h=abb0885c4159141695043146cdbaebc590da5850;hb=ad5d78bf25844079e35cf40ec6619e97082707e1;hp=05cca98fa60bafff752827e7b9ad99bbad0392e9;hpb=938f413bb4ebecd51c805027e331cb7eb0ca9502;p=libdcp.git 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 = ''