source: tests/src/wscript_build @ bf168ac

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since bf168ac was bf168ac, checked in by Paul Brossier <piem@piem.org>, 15 years ago

use waf as new build system (missing file)

  • Property mode set to 100644
File size: 556 bytes
Line 
1# loop over all *.c filenames in tests/src to build them all
2# target name is filename.c without the .c
3for target_name in bld.path.ant_glob('*.c').split():
4  this_target = bld.new_task_gen(
5      features = 'cprogram cc', # test',
6      includes = '../../src',
7      uselib_local = 'aubio',
8      unit_test = 1,
9      source = target_name,
10      target = target_name.split('.')[0],
11      install_path = None)
12  if target_name == 'test-phasevoc-jack.c':
13    this_target.includes = '../../src ../../ext'
14    this_target.uselib_local = ['aubio', 'aubioext']
Note: See TracBrowser for help on using the repository browser.