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