radare2/libr/util/d/meson.build
pancake 33ce7e78a2 Add initial support for katakana ##charset
* Support multibyte charsets
2022-02-16 10:58:45 +01:00

31 lines
598 B
Meson

sdb_files = [
'pokered',
'ebcdic37',
'ascii',
'katakana',
'hiragana',
'iso8859_1'
]
r_util_d_sources = []
foreach file : sdb_files
if get_option('sdb_cgen')
outfile = '@0@.c'.format(file)
gen_cmd = sdb_gen_cmd_cgen
else
outfile = '@0@.sdb'.format(file)
gen_cmd = sdb_gen_cmd
endif
infiles = ['@0@.sdb.txt'.format(file)]
r_util_d_sources += custom_target(outfile,
input: infiles,
output: outfile,
command: gen_cmd,
depends: sdb_exe,
build_by_default: true,
install: true,
install_dir: join_paths(r2_sdb, 'charsets')
)
endforeach