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
15 lines
194 B
12 years ago
|
project('if test', 'c')
|
||
|
|
||
12 years ago
|
var1 = true
|
||
|
var2 = false
|
||
|
|
||
12 years ago
|
if var1
|
||
12 years ago
|
exe = executable('prog', 'prog.c')
|
||
|
endif
|
||
|
|
||
12 years ago
|
if var2
|
||
12 years ago
|
exe = executable('breakbreakbreak', 'crashing.c')
|
||
|
endif
|
||
|
|
||
|
add_test('iftest', exe)
|