summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-02 11:14:15 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-02 11:14:15 +0100
commitf51e1ec6f5cacd05196ce7625709c18f6b38f63e (patch)
tree691af2f59bfbfbcebb20e5a4ee17a1b2c0dd350a /cscript
parent88b54e4e05ae5d5702e8bfdbbd35711e67dce410 (diff)
Add debug option to cscript.
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')