3 def build(target, options):
4 cmd = './waf configure --prefix=%s' % target.directory
5 if target.platform == 'linux':
7 if target.distro == 'centos':
8 cmd += ' --disable-tests'
10 cmd += ' --enable-debug'
11 if target.platform == 'windows':
12 cmd += ' --target-windows --disable-tests'
15 target.command('./waf build install')
17 def make_doxygen(target):
18 os.makedirs('build/doc')
19 target.command('doxygen')
20 return os.path.abspath('build/doc/html')