blob: 22e91d92add1114db2b477d0066a1e22205c5798 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
def build(target, options):
cmd = './waf configure --prefix=%s ' % target.directory
if target.platform == 'linux':
cmd += ' --static'
elif target.platform == 'windows':
cmd += f' --target-windows'
target.append_with_space('LIBS', '-lboost_system')
target.append_with_space('LIBS', '-lboost_filesystem')
target.command(cmd)
target.command('./waf build install')
|