Commit 1a00be48 authored by Marvin Scholz's avatar Marvin Scholz

Build: Add option to disable building tools

parent 6649ca3f
......@@ -9,3 +9,8 @@ option('build_asm',
type: 'boolean',
value: true,
description: 'Build asm files, if available')
option('build_tools',
type: 'boolean',
value: true,
description: 'Build dav1d cli tools')
......@@ -26,6 +26,11 @@
# Build definition for the dav1d tools
#
# Leave subdir if tools are disabled
if not get_option('build_tools')
subdir_done()
endif
# dav1d cli tool sources
dav1d_sources = files(
'dav1d.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