projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b54e4
)
Add debug option to cscript.
author
Carl Hetherington
<cth@carlh.net>
Tue, 2 Jul 2013 10:14:15 +0000
(11:14 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 2 Jul 2013 10:14:15 +0000
(11:14 +0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index a1a9232dda1e89b98d52fa70c4c752f5a7c93eca..23dea9cdf1a76156b128798ea24edf9b03d1b45a 100644
(file)
--- 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')