projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version
[libdcp.git]
/
cscript
diff --git
a/cscript
b/cscript
index 668805c2635e70b606cbb99a5a10c328de41b88c..894c6f9656b44251bd857e00cd68ae16a301f55e 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-1,5
+1,8
@@
import os
import os
+def dependencies(target):
+ return (('libcxml', 'v0.07'), ('openjpeg-cdist', 'f4c50012f1ed3f2e40239a4c856e83a16b98e5d9'))
+
def build(target):
cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
if target.platform == 'linux':
def build(target):
cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
if target.platform == 'linux':
@@
-8,6
+11,10
@@
def build(target):
cmd += ' --target-windows'
elif target.platform == 'osx':
cmd += ' --osx'
cmd += ' --target-windows'
elif target.platform == 'osx':
cmd += ' --osx'
+
+ if target.debug:
+ cmd += ' --enable-debug'
+
target.command(cmd)
target.command('./waf build install')
target.command(cmd)
target.command('./waf build install')