diff options
author | Dudemanguy <random342@airmail.cc> | 2021-11-07 13:28:16 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-11-14 19:13:10 +0000 |
commit | ff322864f2878a35b277111e509da03fe6f888bd (patch) | |
tree | 44a99850fb0adffdd51cb0406ca24ecd5c917b2d /generated/etc | |
parent | f610fe16c0b1cb74d73d02dc55792d4ddc262ad2 (diff) | |
download | mpv-ff322864f2878a35b277111e509da03fe6f888bd.tar.bz2 mpv-ff322864f2878a35b277111e509da03fe6f888bd.tar.xz |
build: add meson build support
Adds support for the meson build system as well as a bit of
documentation. Compatibility with the existing waf build is
maintained.
Diffstat (limited to 'generated/etc')
-rw-r--r-- | generated/etc/meson.build | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/generated/etc/meson.build b/generated/etc/meson.build new file mode 100644 index 0000000000..12fe732b43 --- /dev/null +++ b/generated/etc/meson.build @@ -0,0 +1,20 @@ +icons = ['16', '32', '64', '128'] +foreach size: icons + name = 'mpv-icon-8bit-'+size+'x'+size+'.png' + icon = custom_target(name, + input: join_paths(source_root, 'etc', name), + output: name + '.inc', + command: [file2string, '@INPUT@', '@OUTPUT@'], + ) + sources += icon +endforeach + +etc_files = ['input.conf', 'builtin.conf'] +foreach file: etc_files + etc_file = custom_target(file, + input: join_paths(source_root, 'etc', file), + output: file + '.inc', + command: [file2string, '@INPUT@', '@OUTPUT@'], + ) + sources += etc_file +endforeach |