mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 04:45:33 +00:00
71f2220991
This fixes "Generated from" comments to not include local source path in generated files.
21 lines
563 B
Meson
21 lines
563 B
Meson
icons = ['16', '32', '64', '128']
|
|
foreach size: icons
|
|
name = 'mpv-icon-8bit-'+size+'x'+size+'.png'
|
|
icon = custom_target(name,
|
|
input: name,
|
|
output: name + '.inc',
|
|
command: [file2string, '@INPUT@', '@OUTPUT@', '@SOURCE_ROOT@'],
|
|
)
|
|
sources += icon
|
|
endforeach
|
|
|
|
etc_files = ['input.conf', 'builtin.conf']
|
|
foreach file: etc_files
|
|
etc_file = custom_target(file,
|
|
input: file,
|
|
output: file + '.inc',
|
|
command: [file2string, '@INPUT@', '@OUTPUT@', '@SOURCE_ROOT@'],
|
|
)
|
|
sources += etc_file
|
|
endforeach
|