opus/celt/tests/meson.build
Tim-Philipp Müller c2b542b6c0 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
2020-10-28 22:29:08 +05:30

19 lines
498 B
Meson

tests = [
'test_unit_types',
'test_unit_mathops',
'test_unit_entropy',
'test_unit_laplace',
'test_unit_dft',
'test_unit_mdct',
'test_unit_rotation',
'test_unit_cwrs32',
]
foreach test_name : tests
exe = executable(test_name, '@0@.c'.format(test_name),
include_directories : opus_includes,
link_with : [celt_lib, celt_static_libs],
dependencies : libm,
install : false)
test(test_name, exe)
endforeach