1shaders = [ 2 ['texture-blit', 'frag'], 3 ['texture-blit', 'vert'], 4 ['texture-blit-flip', 'vert'], 5] 6 7foreach e : shaders 8 output = '@0@-@1@.h'.format(e[0], e[1]) 9 genh += custom_target(output, 10 output: output, 11 capture: true, 12 input: files('@0@.@1@'.format(e[0], e[1])), 13 command: [shaderinclude, '@INPUT0@']) 14endforeach 15