meson : fix eina/meson.build

issue : when running 'ninja clean' 'buildtype' option is set to 'custom',
patch : set specific options for 'debug' and 'release',
        set default options for any other value of 'buildtype'
Differential Revision: https://phab.enlightenment.org/D7131
This commit is contained in:
Jérémy Zurcher 2018-10-03 10:34:23 +00:00 committed by Marcel Hollerbach
parent 46d464e5bf
commit c68ac6c1b7
1 changed files with 9 additions and 9 deletions

View File

@ -193,15 +193,7 @@ endif
eina_config = configuration_data()
if get_option('buildtype') == 'plain'
with_max_log_level=-1
stringshare_usage=false
use_valgrind=true
debug_malloc=false
debug_threads=false
default_mempool=false
want_cow_magic=false
elif get_option('buildtype') == 'debug'
if get_option('buildtype') == 'debug'
with_max_log_level=-1
stringshare_usage=true
use_valgrind=true
@ -217,6 +209,14 @@ elif get_option('buildtype') == 'release'
debug_threads=false
default_mempool=false
want_cow_magic=false
else
with_max_log_level=-1
stringshare_usage=false
use_valgrind=true
debug_malloc=false
debug_threads=false
default_mempool=false
want_cow_magic=false
endif
if with_max_log_level != -1