Browse Source

build: use meson warning_level to pass -Wall to compiler

meson has a builtin option to pass some warning flags to compiler. 'warning_level=1' passes -Wall

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D12315
pull/1/head
Vincent Torri 6 months ago committed by Marcel Hollerbach
parent
commit
0a1ae11586
  1. 3
      meson.build

3
meson.build

@ -1,6 +1,6 @@
project('efl', ['c','cpp'],
version: '1.26.99',
default_options : ['buildtype=plain', 'cpp_std=c++11'],
default_options : ['buildtype=plain', 'warning_level=1', 'cpp_std=c++11'],
meson_version : '>=0.50'
)
@ -73,7 +73,6 @@ local_scripts = join_paths('src', 'scripts')
dev_cflags = []
dev_cflags_try = [
'-fvisibility=hidden',
'-Wall',
'-Wfloat-compare',
'-Wpointer-arith',
'-Wunused-parameter',

Loading…
Cancel
Save