Commit 5cd964e7 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Add tests build option

parent 7e4a5336
...@@ -13,3 +13,8 @@ option('docs', ...@@ -13,3 +13,8 @@ option('docs',
value: 'auto', value: 'auto',
description: 'Doxygen API documentation.' description: 'Doxygen API documentation.'
) )
option('tests',
type: 'feature',
value: 'auto',
description: 'run tests'
)
check = dependency('check', required: false) check = dependency('check', required: get_option('tests'))
if check.found() if check.found()
test_dependencies = [ test_dependencies = [
declare_dependency(link_with: girara), declare_dependency(link_with: girara),
......
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