Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2018-10-19 19:36:53 +0300
committerMarvin Scholz <epirat07@gmail.com>2018-10-19 19:36:53 +0300
commitce6f1f77eb29bf96f946e9529ca5caa29a898f95 (patch)
tree3221e8b032a1ce78e1be757dbd850186917e2632 /meson.build
parent89c3f53fa5991fb03894afc2ac72592d52a33c3f (diff)
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.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3c98c60..698cf16 100644
--- a/meson.build
+++ b/meson.build
@@ -26,7 +26,8 @@ project('dav1d', ['c'],
version: '0.0.1',
default_options: ['c_std=c99',
'warning_level=2',
- 'buildtype=release'],
+ 'buildtype=release',
+ 'b_ndebug=if-release'],
meson_version: '>= 0.47.0')
dav1d_version_array = meson.project_version().split('.')