Add support for Meson build system

Tested on:
 - Linux/x86* with gcc
 - Android armv7 arm64 x86 x86_64 with clang
 - Windows x86 x86_64 with Visual Studio 2017
 - Windows x86 x86_64 with MinGW
 - macOS x86_64 with clang
 - iOS arm64 x86_64 with clang

Co-authored by: Nirbheek Chauhan <nirbheek@centricular.com>

https://gitlab.xiph.org/xiph/opus/-/merge_requests/13
This commit is contained in:
Tim-Philipp Müller 2016-03-19 15:40:22 +00:00 committed by Nirbheek Chauhan
parent 034c1b61a2
commit c2b542b6c0
15 changed files with 1114 additions and 1 deletions

13
include/meson.build Normal file
View file

@ -0,0 +1,13 @@
opus_headers = [
'opus.h',
'opus_multistream.h',
'opus_projection.h',
'opus_types.h',
'opus_defines.h',
]
if opt_custom_modes
opus_headers += ['opus_custom.h']
endif
install_headers(opus_headers, subdir: 'opus')