project('winmain', 'c') exe = executable('prog', 'prog.c', gui_app : true) test('winmain', exe)