source: tests/wscript_build @ c34336e

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since c34336e 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
Line 
1# vim:set syntax=python:
2
3for target_name in ctx.path.ant_glob('src/**/*.c'):
4  uselib = []
5  includes = ['../src', '.']
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      lib = 'm',
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.