1 2 3 4 5 6 7 8 9 10
project('Mercurial outcheckker', 'c') sp = subproject('samplesubproject') exe = executable('gitprog', 'prog.c', include_directories : sp.get_variable('subproj_inc'), link_with : sp.get_variable('subproj_lib'), ) test('maintest', exe)