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.

15 lines
194 B

project('if test', 'c')
12 years ago
var1 = true
var2 = false
if var1
12 years ago
exe = executable('prog', 'prog.c')
endif
if var2
12 years ago
exe = executable('breakbreakbreak', 'crashing.c')
endif
add_test('iftest', exe)