print('%{_bindir}/dcpomatic2_playlist', file=f)
print('%{_bindir}/dcpomatic2_openssl', file=f)
print('%{_bindir}/dcpomatic2_combiner', file=f)
print('%{_bindir}/dcpomatic2_playlist', file=f)
print('%{_bindir}/dcpomatic2_openssl', file=f)
print('%{_bindir}/dcpomatic2_combiner', file=f)
if os.path.exists(os.path.join(tools, "dcpomatic2_disk")):
print('%{_bindir}/dcpomatic2_disk', file=f)
print('%{_bindir}/dcpomatic2_disk_writer', file=f)
if os.path.exists(os.path.join(tools, "dcpomatic2_disk")):
print('%{_bindir}/dcpomatic2_disk', file=f)
print('%{_bindir}/dcpomatic2_disk_writer', file=f)
- deps.append(('libdcp', '9d1c856', cpp_lib_options))
- deps.append(('libsub', '1b52b38', cpp_lib_options))
+ deps.append(('libdcp', '2b522d0', cpp_lib_options))
+ deps.append(('libsub', 'dcd8bf5', cpp_lib_options))
deps.append(('leqm-nrt', 'carl'))
deps.append(('rtaudio', 'carl'))
# We get our OpenSSL libraries from the environment, but we
deps.append(('leqm-nrt', 'carl'))
deps.append(('rtaudio', 'carl'))
# We get our OpenSSL libraries from the environment, but we
deps.append(('openssl', 'carl'))
if can_build_disk(target):
deps.append(('lwext4', '370b3de6'))
deps.append(('openssl', 'carl'))
if can_build_disk(target):
deps.append(('lwext4', '370b3de6'))
opt = ' --warnings-are-errors'
if not ((target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04') or
opt = ' --warnings-are-errors'
if not ((target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04') or
- (target.platform == 'osx')):
- # Currently we only build tests on Ubuntu 18.04 and macOS
+ (target.platform == 'osx') or
+ (target.platform == 'windows')):
+ # Currently we only build tests on Ubuntu 18.04, macOS and Windows
target.command('pdflatex colour.tex')
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
target.command('pdflatex colour.tex')
return [os.path.abspath('pdf'), os.path.abspath('html'), os.path.abspath('colour.pdf')]
-def test(target, test):
- if target.platform != 'windows':
- target.set('LC_ALL', 'C')
+def test(target, options, test):
+ target.set('LC_ALL', 'C')
+ if target.platform == 'windows':
+ cmd = 'run\\tests '
+ else: