aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-03-19 15:40:22 +0000
committerNirbheek Chauhan <nirbheek@centricular.com>2020-10-28 22:29:08 +0530
commitc2b542b6c02bafbe7a83b2eeec6cb5a0bfa3ed0d (patch)
treed788ad2c57bd1ccaae6aa73dced21c83c59df1b1 /include
parent034c1b61a250457649d788bbf983b3f0fb63f02e (diff)
downloadlibopus-c2b542b6c02bafbe7a83b2eeec6cb5a0bfa3ed0d.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/meson.build b/include/meson.build
new file mode 100644
index 00000000..c1fb0b76
--- /dev/null
+++ b/include/meson.build
@@ -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')