blob: 5413fdbc4ca6bf61b745d1bf5d8e5f62322c6a52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import os
def build(env, target):
cmd = './waf configure --prefix=%s' % env.work_dir_cscript()
if target.platform == 'linux':
cmd += ' --static-libdcp --static-openjpeg'
elif target.platform == 'windows':
cmd += ' --target-windows'
elif target.platform == 'osx':
cmd += ' --osx'
env.command(cmd)
env.command('./waf build install')
def make_doxygen(env):
os.makedirs('build/doc')
env.command('doxygen')
return os.path.abspath('build/doc/html')
|