external/mp3/meson.build
raw| 1 | # meson.build of the external library "mp3" |
| 2 | # David Weenink, 4 January 2024 |
| 3 | |
| 4 | sources = ''' |
| 5 | mp3.cpp mad_bit.c mad_decoder.c |
| 6 | mad_fixed.c mad_frame.c mad_huffman.c |
| 7 | mad_layer12.c mad_layer3.c mad_stream.c |
| 8 | mad_synth.c mad_timer.c mad_version.c'''.split() |
| 9 | |
| 10 | libmp3 = static_library ( |
| 11 | 'mp3', |
| 12 | sources : sources, |
| 13 | include_directories : melder_inc |
| 14 | ) |
| 15 | |
| 16 | libmp3_dep = declare_dependency ( |
| 17 | include_directories : include_directories('.'), link_with: libmp3 |
| 18 | ) |