summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 4 insertions, 0 deletions
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')