Compile with warning_level=2 by default

This commit is contained in:
Romain Vimont 2019-11-26 09:22:20 +01:00
parent 31d9d56117
commit 7637a113e3

View file

@ -1,7 +1,10 @@
project('scrcpy', 'c', project('scrcpy', 'c',
version: '1.11', version: '1.11',
meson_version: '>= 0.37', meson_version: '>= 0.37',
default_options: 'c_std=c11') default_options: [
'c_std=c11',
'warning_level=2',
])
if get_option('compile_app') if get_option('compile_app')
subdir('app') subdir('app')