mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-01 14:15:16 +02:00
22 lines
456 B
Meson
22 lines
456 B
Meson
embedded_assets = [
|
|
'icon.png',
|
|
'icon.svg',
|
|
'liberation.ttf'
|
|
]
|
|
|
|
embedded_assets_f = files(embedded_assets)
|
|
|
|
count = 0
|
|
processed_assets = []
|
|
foreach file : embedded_assets_f
|
|
processed_assets += custom_target(embedded_assets[count],
|
|
input: file,
|
|
output: '@0@.xxd'.format(embedded_assets[count]),
|
|
command: [
|
|
xxd, '-i', '@INPUT@'
|
|
],
|
|
capture: true,
|
|
depend_files: embedded_assets_f
|
|
)
|
|
count += 1
|
|
endforeach
|