From eeeea810de292d6a4e01f048f352603960e415e8 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Wed, 1 Jul 2026 12:32:44 +0200 Subject: [PATCH] meson: Do not build test executables by default Now they will only be built when actually needed, similar to how autotools handles this. Fix #83 --- tests/meson.build | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/meson.build b/tests/meson.build index fde6f5c..53fa07e 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -1,13 +1,21 @@ # Tests -e = executable('TestInsideAngleRange', 'TestInsideAngleRange.cpp', dependencies: [libspatialaudio_dep]) +e = executable('TestInsideAngleRange', 'TestInsideAngleRange.cpp', + dependencies: [libspatialaudio_dep], + build_by_default: false) test('TestInsideAngleRange', e) -e = executable('TestAmbisonicShelfFilters', 'TestAmbisonicShelfFilters.cpp', dependencies: [libspatialaudio_dep]) +e = executable('TestAmbisonicShelfFilters', 'TestAmbisonicShelfFilters.cpp', + dependencies: [libspatialaudio_dep], + build_by_default: false) test('TestAmbisonicShelfFilters', e) -e = executable('TestAmbisonicDecoderPresets', 'TestAmbisonicDecoderPresets.cpp', dependencies: [libspatialaudio_dep]) +e = executable('TestAmbisonicDecoderPresets', 'TestAmbisonicDecoderPresets.cpp', + dependencies: [libspatialaudio_dep], + build_by_default: false) test('TestAmbisonicDecoderPresets', e) -e = executable('TestRenderer', 'TestRenderer.cpp', dependencies: [libspatialaudio_dep]) +e = executable('TestRenderer', 'TestRenderer.cpp', + dependencies: [libspatialaudio_dep], + build_by_default: false) test('TestRenderer', e)