use waf as new build system (missing file)
authorPaul Brossier <piem@piem.org>
Wed, 23 Sep 2009 17:58:06 +0000 (19:58 +0200)
committerPaul Brossier <piem@piem.org>
Wed, 23 Sep 2009 17:58:06 +0000 (19:58 +0200)
tests/src/wscript_build [new file with mode: 0644]

diff --git a/tests/src/wscript_build b/tests/src/wscript_build
new file mode 100644 (file)
index 0000000..02f1089
--- /dev/null
@@ -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']