xc_exe = executable('xc', sources : [ 'main.cc', 'emit.cc', 'error.cc', 'typecheck.cc', antlr4.process('xlang.g4'), ], dependencies : [ antlr4_runtime_dep, ], install : true) xc = generator(xc_exe, arguments : ['-o', '@OUTPUT@', '@INPUT@'], output : '@BASENAME@.ssa')