blob: 18913fa13d1be3941451807cd7f36e9c21823ae3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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'
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')
|