1 2 3 4 5 6 7 8 9 10 11 12 13 14
project('demo', 'c') executable( 'prog', sources, ) if host_machine.system() == 'linux' message('linux') endif foreach name : names message(name) endforeach