source: tests/wscript_build @ 7f35041

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

{examples,tests}/wscrtip_build: update build target name

  • Property mode set to 100644
File size: 495 bytes
Line 
1# vim:set syntax=python:
2
3import os.path
4
5uselib = ['aubio']
6
7includes = ['../src', '.']
8programs_sources = ctx.path.ant_glob('src/**/*.c')
9
10for source_file in programs_sources:
11    target = os.path.basename(os.path.splitext(str(source_file))[0])
12    bld(features = 'c cprogram test',
13            source = source_file,
14            target = target,
15            includes = includes,
16            use = uselib,
17            install_path = None,
18            defines = 'AUBIO_UNSTABLE_API=1',
19       )
Note: See TracBrowser for help on using the repository browser.