meson formatting
This commit is contained in:
parent
39c65797de
commit
f1fd2a827a
16
meson.build
16
meson.build
|
@ -1,8 +1,8 @@
|
||||||
project('desksanity', 'c',
|
project('desksanity', 'c',
|
||||||
version : '1.1.99',
|
version: '1.1.99',
|
||||||
license : 'BSD 2 clause',
|
license: 'BSD 2 clause',
|
||||||
default_options: [ 'c_std=gnu99', 'warning_level=2' ],
|
default_options: [ 'c_std=gnu99', 'warning_level=2' ],
|
||||||
meson_version : '>= 0.40.0')
|
meson_version: '>= 0.40.0')
|
||||||
|
|
||||||
add_global_arguments('-DHAVE_CONFIG_H=1', language: 'c')
|
add_global_arguments('-DHAVE_CONFIG_H=1', language: 'c')
|
||||||
dir_prefix = get_option('prefix')
|
dir_prefix = get_option('prefix')
|
||||||
|
@ -34,9 +34,9 @@ dev_cflags_try = [
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach cf: dev_cflags_try
|
foreach cf: dev_cflags_try
|
||||||
if cc.has_argument(cf) == true
|
if cc.has_argument(cf) == true
|
||||||
dev_cflags += cf
|
dev_cflags += cf
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
add_global_arguments(dev_cflags, language: 'c')
|
add_global_arguments(dev_cflags, language: 'c')
|
||||||
|
|
||||||
|
@ -150,8 +150,8 @@ if dep_efl_wl.found() == true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
configure_file(output : 'config.h',
|
configure_file(output: 'config.h',
|
||||||
install : false,
|
install: false,
|
||||||
configuration: config_h)
|
configuration: config_h)
|
||||||
|
|
||||||
executable('e_gadget_test',
|
executable('e_gadget_test',
|
||||||
|
|
Loading…
Reference in New Issue