project('array test', 'c') arr = ['func.c', 'prog.c'] exe = executable('prog', arr) add_test('arr test', exe)