source: tests/wscript_build @ 9956027

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 9956027 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
RevLine 
[6ed0f4e]1# vim:set syntax=python:
2
[281381f]3import os.path
4
[21def97]5uselib = ['aubio']
[58cffee]6
7includes = ['../src', '.']
[21def97]8programs_sources = ctx.path.ant_glob('src/**/*.c')
[58cffee]9
[21def97]10for source_file in programs_sources:
[281381f]11    target = os.path.basename(os.path.splitext(str(source_file))[0])
[dc0e759]12    bld(features = 'c cprogram test',
[21def97]13            source = source_file,
[281381f]14            target = target,
[dc0e759]15            includes = includes,
[21def97]16            use = uselib,
[09fab95]17            install_path = None,
[dc0e759]18            defines = 'AUBIO_UNSTABLE_API=1',
[21def97]19       )
Note: See TracBrowser for help on using the repository browser.