mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-06-07 17:55:52 +02:00
21 lines
457 B
Meson
21 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
|