3 def dependencies(target):
4 return (('libcxml', 'f35787e'), ('openjpeg-cdist', '5d8bffd'))
6 def build(target, options):
7 cmd = './waf configure --disable-examples --prefix=%s' % target.directory
8 if target.platform == 'linux':
10 if target.distro == 'centos':
11 cmd += ' --disable-tests'
12 elif target.platform == 'windows':
13 cmd += ' --target-windows --disable-tests'
14 elif target.platform == 'osx':
15 cmd += ' --disable-tests'
18 cmd += ' --enable-debug'
21 target.command('./waf build install')
23 def make_doxygen(target):
24 os.makedirs('build/doc')
25 target.command('doxygen')
26 return os.path.abspath('build/doc/html')
29 if target.platform != 'windows':
30 target.set('LC_ALL', 'C')
31 target.command('run/tests')