X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=894c6f9656b44251bd857e00cd68ae16a301f55e;hb=0ac57f39253d75b2376bc9214c43f0df32440a0d;hp=668805c2635e70b606cbb99a5a10c328de41b88c;hpb=adbf32154e0322121a50ef285c9835d636ee0da1;p=libdcp.git diff --git a/cscript b/cscript index 668805c2..894c6f96 100644 --- a/cscript +++ b/cscript @@ -1,5 +1,8 @@ import os +def dependencies(target): + return (('libcxml', 'v0.07'), ('openjpeg-cdist', 'f4c50012f1ed3f2e40239a4c856e83a16b98e5d9')) + def build(target): cmd = './waf configure --prefix=%s' % target.work_dir_cscript() if target.platform == 'linux': @@ -8,6 +11,10 @@ def build(target): cmd += ' --target-windows' elif target.platform == 'osx': cmd += ' --osx' + + if target.debug: + cmd += ' --enable-debug' + target.command(cmd) target.command('./waf build install')