3 def dependencies(target):
4 return (('libdcp', 'de32e99'),)
6 def build(target, options):
7 cmd = './waf configure --prefix=%s' % target.directory
8 if target.platform == 'linux':
10 if target.distro == 'centos':
11 cmd += ' --disable-tests'
13 cmd += ' --enable-debug'
14 if target.platform == 'windows':
15 cmd += ' --target-windows --disable-tests'
18 target.command('./waf build install')
20 def make_doxygen(target):
21 os.makedirs('build/doc')
22 target.command('doxygen')
23 return os.path.abspath('build/doc/html')
26 if target.platform != 'windows':
27 target.set('LC_ALL', 'C')
28 target.command('run/tests')