Changeset 21def97 for tests/wscript_build
- Timestamp:
- May 3, 2016, 1:34:14 AM (9 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- 4a39e41
- Parents:
- 762c7fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/wscript_build
r762c7fa r21def97 1 1 # vim:set syntax=python: 2 2 3 lib = ['aubio'] 4 lib += ['m'] if 'CL.exe' not in ctx.env.CC[0] else [] 5 6 cflags = ['-g'] if 'CL.exe' not in ctx.env.CC[0] else None 7 8 uselib = [] 9 uselib += ['FFTW3', 'FFTW3F'] 10 uselib += ['SAMPLERATE'] 11 uselib += ['SNDFILE'] 12 uselib += ['AVCODEC'] 13 uselib += ['AVFORMAT'] 14 uselib += ['AVRESAMPLE'] 15 uselib += ['AVUTIL'] 16 uselib += ['JACK'] 17 uselib += ['BLAS'] 3 uselib = ['aubio'] 18 4 19 5 includes = ['../src', '.'] 6 programs_sources = ctx.path.ant_glob('src/**/*.c') 20 7 21 for target_name in ctx.path.ant_glob('src/**/*.c'): 22 extra_source = [] 8 for source_file in programs_sources: 23 9 bld(features = 'c cprogram test', 24 lib = lib, 25 uselib = uselib, 26 source = [target_name] + extra_source, 27 target = str(target_name).split('.')[0], 10 source = source_file, 11 target = str(source_file).split('.')[0], 28 12 includes = includes, 29 install_path = None,13 use = uselib, 30 14 defines = 'AUBIO_UNSTABLE_API=1', 31 cflags = cflags, 32 use = 'aubio') 15 )
Note: See TracChangeset
for help on using the changeset viewer.