summaryrefslogtreecommitdiff
path: root/cscript
blob: 8b33a2246015731773bc71b34db75e2c768c6bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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')