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.
 
 
 
 
 
 

14 lines
196 B

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