import os
def dependencies(target):
- return (('libdcp', '6a9f369'),)
+ return (('asdcplib-cth', 'f3b0fb8'), ('libcxml', '25e945f'), ('libdcp', '5e6d583'))
def build(target, options):
cmd = './waf configure --prefix=%s' % target.directory
cmd += ' --static'
if target.distro == 'centos':
cmd += ' --disable-tests'
- if target.distro == 'debian' and target.version == 'unstable':
+ if (target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23'):
target.append_with_space('CXXFLAGS', '-std=c++11')
if target.debug:
cmd += ' --enable-debug'
target.command('doxygen')
return os.path.abspath('build/doc/html')
-def test(target):
+def test(target, test):
if target.platform != 'windows':
target.set('LC_ALL', 'C')
- target.command('run/tests')
+ if test is None:
+ target.command('run/tests')
+ else:
+ target.command('run/tests --run_test=%s' % test)