From: Paul Brossier Date: Wed, 23 Sep 2009 17:58:06 +0000 (+0200) Subject: use waf as new build system (missing file) X-Git-Tag: bzr2git~326 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf168acb4b4173ef90410136b8211275a56123e5;p=aubio.git use waf as new build system (missing file) --- 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']