Merge branch 'master' of ssh://carlh.dyndns.org/home/carl/git/libcxml
[libcxml.git] / cscript
1 def build(target):
2     cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
3     if target.platform == 'linux':
4         cmd += ' --static'
5     elif target.platform == 'windows':
6         cmd += ' --target-windows'
7     target.command(cmd)
8     target.command('./waf build install')