File: meson.build

package info (click to toggle)
mpv 0.40.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,676 kB
  • sloc: ansic: 152,062; python: 1,228; sh: 646; javascript: 612; cpp: 461; objc: 302; pascal: 49; xml: 29; makefile: 19
file content (20 lines) | stat: -rw-r--r-- 563 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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