source: tests/wscript_build @ 69440b8

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

tests/utils_tests.h: add some utils

  • Property mode set to 100644
File size: 595 bytes
RevLine 
[6ed0f4e]1# vim:set syntax=python:
2
3for target_name in ctx.path.ant_glob('src/**/*.c'):
4  uselib = []
[386be4a]5  includes = ['../src', '.']
[6ed0f4e]6  extra_source = []
7  if str(target_name).endswith('-jack.c') and ctx.env['JACK']:
8    uselib += ['JACK']
9    includes += ['../examples']
10    extra_source += ['../examples/jackio.c']
11
12  bld(features = 'c cprogram test',
13      uselib = uselib,
14      source = [target_name] + extra_source,
15      target = str(target_name).split('.')[0],
16      includes = includes,
17      install_path = None,
18      defines = 'AUBIO_UNSTABLE_API=1',
19      cflags = ['-g'],
20      use = 'aubio')
21
Note: See TracBrowser for help on using the repository browser.