mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-06-07 09:45:53 +02:00
20 lines
457 B
Meson
20 lines
457 B
Meson
|
|
embedded_scripts = [
|
|
'EssentialsTilemapHack.rb'
|
|
]
|
|
|
|
embedded_scripts_f = files(embedded_scripts)
|
|
|
|
count = 0
|
|
foreach file : embedded_scripts_f
|
|
global_sources += custom_target(embedded_scripts[count],
|
|
input: file,
|
|
output: '@0@.xxd'.format(embedded_scripts[count]),
|
|
command: [
|
|
xxd, '-i', '@INPUT@'
|
|
],
|
|
capture: true,
|
|
depend_files: embedded_scripts_f[count]
|
|
)
|
|
count += 1
|
|
endforeach
|