The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
389 B
10 lines
389 B
project('valatest', 'c', default_options : 'werror=true') |
|
|
|
if find_program('valac', required : false).found() |
|
add_languages('vala') |
|
valadeps = [dependency('glib-2.0'), dependency('gobject-2.0')] |
|
# Must fail due to -Werror and unused variable in C file |
|
executable('valaprog', 'prog.vala', 'unused-var.c', dependencies : valadeps) |
|
else |
|
executable('failprog', 'unused-var.c') |
|
endif
|
|
|