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