source: tests/wscript_build @ c52b483

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

{examples,tests}/wscript_build: add -lm

  • Property mode set to 100644
File size: 612 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',
[cdd24f0]13      lib = 'm',
[6ed0f4e]14      uselib = uselib,
15      source = [target_name] + extra_source,
16      target = str(target_name).split('.')[0],
17      includes = includes,
18      install_path = None,
19      defines = 'AUBIO_UNSTABLE_API=1',
20      cflags = ['-g'],
21      use = 'aubio')
22
Note: See TracBrowser for help on using the repository browser.