16 lines
322 B
Meson
16 lines
322 B
Meson
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')
|