Commit ce6f1f77 authored by Marvin Scholz's avatar Marvin Scholz

meson: Disable asserts in release builds

Sets the meson b_ndebug option to default to if-release,
so that asserts are disabled in release builds.
parent 89c3f53f
...@@ -26,7 +26,8 @@ project('dav1d', ['c'], ...@@ -26,7 +26,8 @@ project('dav1d', ['c'],
version: '0.0.1', version: '0.0.1',
default_options: ['c_std=c99', default_options: ['c_std=c99',
'warning_level=2', 'warning_level=2',
'buildtype=release'], 'buildtype=release',
meson_version: '>= 0.47.0') meson_version: '>= 0.47.0')
dav1d_version_array = meson.project_version().split('.') dav1d_version_array = meson.project_version().split('.')
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