ref: 5e8b0c6890f818951b947a9986f69364bc629b0c
dir: /meson.build/
project( 'libtags', 'c', version: '1.0', default_options: [ 'c_std=c99', 'warning_level=3', 'buildtype=debugoptimized', ], ) add_project_arguments( '-Wdiscarded-qualifiers', '-Wmissing-prototypes', '-Wformat=2', '-Wformat-overflow=2', '-D_DEFAULT_SOURCE', language: 'c', ) src_lib = [ '437.c', '8859.c', 'flac.c', 'id3genres.c', 'id3v1.c', 'id3v2.c', 'it.c', 'm4a.c', 'mod.c', 'opus.c', 's3m.c', 'tags.c', 'utf16.c', 'vorbis.c', 'wav.c', 'xm.c', ] src_readtags = [ 'examples/readtags.c', ] lib = static_library( 'libtags', sources: src_lib, install: true, ) install_headers( 'tags.h', ) libtags = declare_dependency( link_with: lib, ) executable( 'readtags', sources: src_readtags, dependencies: [ libtags ], install: false, )