projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1162697
)
Update cscript.
author
Carl Hetherington
<cth@carlh.net>
Tue, 18 Jun 2013 15:32:58 +0000
(16:32 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 18 Jun 2013 15:32:58 +0000
(16:32 +0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 501d35486a682ea34b47d70de8ab8d901c0ba7a0..8b33a2246015731773bc71b34db75e2c768c6bc7 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-1,2
+1,11
@@
-release_targets = ['source']
+def build(target):
+ cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
+ if target.platform == 'linux':
+ cmd += ' --static'
+ elif target.platform == 'windows':
+ cmd += ' --target-windows'
+ elif target.platform == 'osx':
+ cmd += ' --osx'
+ target.command(cmd)
+ target.command('./waf build install')