From: Carl Hetherington Date: Tue, 2 Jul 2013 10:14:15 +0000 (+0100) Subject: Add debug option to cscript. X-Git-Tag: v0.55~17^2 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=f51e1ec6f5cacd05196ce7625709c18f6b38f63e;p=libdcp.git Add debug option to cscript. --- diff --git a/cscript b/cscript index a1a9232d..23dea9cd 100644 --- a/cscript +++ b/cscript @@ -15,6 +15,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')