build: Enable warning level 2

Equivelant to -Wall -Wextra

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2020-06-26 20:32:39 +01:00 committed by Hans-Kristian Arntzen
parent d70223e57d
commit 02fca8d190
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
project('vkd3d', ['c'], version : '1.1', meson_version : '>= 0.51')
project('vkd3d', ['c'], version : '1.1', meson_version : '>= 0.51', default_options : [
'warning_level=2',
])
cpu_family = target_machine.cpu_family()