Commit bebe5ec8 authored by Marvin Scholz's avatar Marvin Scholz

Build: Add option to disable building tests

parent 1a00be48
...@@ -14,3 +14,8 @@ option('build_tools', ...@@ -14,3 +14,8 @@ option('build_tools',
type: 'boolean', type: 'boolean',
value: true, value: true,
description: 'Build dav1d cli tools') description: 'Build dav1d cli tools')
option('build_tests',
type: 'boolean',
value: true,
description: 'Build dav1d tests')
#
# Build definition for the dav1d tests
#
# Leave subdir if tests are disabled
if not get_option('build_tests')
subdir_done()
endif
if is_asm_enabled if is_asm_enabled
checkasm_sources = files('checkasm/checkasm.c') checkasm_sources = files('checkasm/checkasm.c')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment