1 2 3 4 5 6
project('array test', 'c') arr = ['func.c', 'prog.c'] exe = executable('prog', sources : arr) add_test('arr test', exe)