project('add language', 'c') test('C', executable('cprog', 'prog.c')) add_languages('cpp') test('C++', executable('cppprog', 'prog.cc'))