summaryrefslogtreecommitdiff
path: root/cscript
blob: 56a1192aa3044c21e7d551cc1703847354530f07 (plain)
1
2
3
4
5
6
7
8
def build(target, options):
    cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
    if target.platform == 'linux':
        cmd += ' --static'
    elif target.platform == 'windows':
        cmd += ' --target-windows'
    target.command(cmd)
    target.command('./waf build install')