1 2 3 4 5 6
gen = executable('gen', 'main.swift') srcs = custom_target('gensrc', output : 'gen.swift', command : [gen, '@OUTPUT@'] )