Merge branch 'cth' of ssh://git.carlh.net/home/carl/git/asdcplib-cth into cth
[asdcplib-cth.git] / cscript
1
2 def build(target, options):
3     cmd = './waf configure --prefix=%s ' % target.directory
4     if target.platform == 'linux':
5         cmd += ' --static'
6     elif target.platform == 'windows':
7         cmd += ' --target-windows'
8
9     target.append_with_space('LIBS', '-lboost_system')
10     target.append_with_space('LIBS', '-lboost_filesystem')
11     target.command(cmd)
12     target.command('./waf build install')