Changeset 155cc10 for examples/wscript_build
- Timestamp:
- Mar 10, 2017, 2:26:32 PM (7 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
- Children:
- ee8a57c
- Parents:
- 00d0275 (diff), 67b6618 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/wscript_build
r00d0275 r155cc10 1 1 # vim:set syntax=python: 2 2 3 uselib = [] 4 uselib += ['FFTW3', 'FFTW3F'] 5 uselib += ['SAMPLERATE'] 6 uselib += ['SNDFILE'] 7 uselib += ['AVCODEC'] 8 uselib += ['AVFORMAT'] 9 uselib += ['AVRESAMPLE'] 10 uselib += ['AVUTIL'] 3 import os.path 4 5 uselib = ['aubio'] 11 6 uselib += ['JACK'] 12 uselib += ['BLAS']13 7 8 includes = ['../src'] 14 9 utils_source = ['utils.c', 'jackio.c'] 15 10 programs_source = ctx.path.ant_glob('*.c', excl = utils_source) … … 18 13 bld(features = 'c', 19 14 source = utils_source, 20 includes = ['../src'],21 use lib= uselib,15 includes = includes, 16 use = uselib, 22 17 target = 'utilsio') 23 18 24 19 # loop over all *.c filenames in examples to build them all 25 20 for source_file in programs_source: 21 target = os.path.basename(os.path.splitext(str(source_file))[0]) 26 22 bld(features = 'c cprogram', 27 includes = '../src',28 lib = 'm',29 use = ['aubio', 'utilsio'],30 uselib = uselib,31 23 source = source_file, 32 target = str(source_file).split('.')[0] 33 ) 24 target = target, 25 includes = includes, 26 use = uselib + ['utilsio'], 27 )
Note: See TracChangeset
for help on using the changeset viewer.