From bf168acb4b4173ef90410136b8211275a56123e5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 23 Sep 2009 19:58:06 +0200 Subject: [PATCH] use waf as new build system (missing file) --- tests/src/wscript_build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/src/wscript_build diff --git a/tests/src/wscript_build b/tests/src/wscript_build new file mode 100644 index 00000000..02f10894 --- /dev/null +++ b/tests/src/wscript_build @@ -0,0 +1,14 @@ +# loop over all *.c filenames in tests/src to build them all +# target name is filename.c without the .c +for target_name in bld.path.ant_glob('*.c').split(): + this_target = bld.new_task_gen( + features = 'cprogram cc', # test', + includes = '../../src', + uselib_local = 'aubio', + unit_test = 1, + source = target_name, + target = target_name.split('.')[0], + install_path = None) + if target_name == 'test-phasevoc-jack.c': + this_target.includes = '../../src ../../ext' + this_target.uselib_local = ['aubio', 'aubioext'] -- 2.26.2