project('winmain', 'c') exe = executable('prog', 'prog.c') add_test('winmain', exe)