From f51e1ec6f5cacd05196ce7625709c18f6b38f63e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 2 Jul 2013 11:14:15 +0100 Subject: [PATCH] Add debug option to cscript. --- cscript | 4 ++++ 1 file changed, 4 insertions(+) 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') -- 2.30.2