97e2d4b9c0c2d646c6acf0edd084e6ad19789202
[libcxml.git] / cscript
1 def build(target):
2     cmd = './waf configure --prefix=%s/%s' % (target.work_dir_cscript(), target.install_prefix)
3     if target.platform == 'linux':
4         cmd += ' --static'
5     elif target.platform == 'windows':
6         cmd += ' --target-windows'
7     elif target.platform == 'osx':
8         cmd += ' --osx'
9     target.command(cmd)
10     target.command('./waf build install')