Changeset dc0e759
- Timestamp:
- Mar 6, 2014, 6:03:49 PM (11 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:
- e794a80
- Parents:
- 584016f
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/wscript_build
r584016f rdc0e759 9 9 # build examples 10 10 bld(features = 'c', 11 source = utils_source,12 includes = ['../src'],13 uselib = uselib,14 target = 'utilsio')11 source = utils_source, 12 includes = ['../src'], 13 uselib = uselib, 14 target = 'utilsio') 15 15 16 16 # loop over all *.c filenames in examples to build them all 17 17 for source_file in programs_source: 18 bld(features = 'c cprogram',19 includes = '../src',20 lib = 'm',21 use = ['aubio', 'utilsio'],22 source = source_file,23 target = str(source_file).split('.')[0]24 )18 bld(features = 'c cprogram', 19 includes = '../src', 20 lib = 'm', 21 use = ['aubio', 'utilsio'], 22 source = source_file, 23 target = str(source_file).split('.')[0] 24 ) -
src/wscript_build
r584016f rdc0e759 1 1 # vim:set syntax=python: 2 2 3 source = ctx.path.ant_glob('*.c **/*.c')4 3 uselib = [] 5 4 uselib += ['FFTW3', 'FFTW3F'] … … 11 10 uselib += ['AVUTIL'] 12 11 12 # build each source files 13 source = ctx.path.ant_glob('*.c **/*.c') 13 14 ctx(features = 'c', 14 source = source,15 includes = ['.'],16 uselib = uselib,17 lib = 'm',18 target = 'lib_objects')15 source = source, 16 includes = ['.'], 17 uselib = uselib, 18 lib = 'm', 19 target = 'lib_objects') 19 20 20 21 # build libaubio.so (cshlib) and/or libaubio.a (cstlib) … … 27 28 28 29 for target in build_features: 29 ctx(features = 'c ' + target,30 use = ['lib_objects'], #source = source,31 lib = 'm',32 target = 'aubio',33 install_path = '${PREFIX}/lib',34 vnum = ctx.env['LIB_VERSION'])30 ctx(features = 'c ' + target, 31 use = ['lib_objects'], 32 lib = 'm', 33 target = 'aubio', 34 install_path = '${PREFIX}/lib', 35 vnum = ctx.env['LIB_VERSION']) 35 36 36 37 # install headers, except _priv.h ones 37 38 ctx.install_files('${PREFIX}/include/aubio/', 38 ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),39 relative_trick=True)39 ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), 40 relative_trick=True) -
tests/wscript_build
r584016f rdc0e759 2 2 3 3 for target_name in ctx.path.ant_glob('src/**/*.c'): 4 uselib = []5 includes = ['../src', '.']6 extra_source = []4 uselib = [] 5 includes = ['../src', '.'] 6 extra_source = [] 7 7 8 bld(features = 'c cprogram test', 9 lib = 'm', 10 uselib = uselib, 11 source = [target_name] + extra_source, 12 target = str(target_name).split('.')[0], 13 includes = includes, 14 install_path = None, 15 defines = 'AUBIO_UNSTABLE_API=1', 16 cflags = ['-g'], 17 use = 'aubio') 18 8 bld(features = 'c cprogram test', 9 lib = 'm', 10 uselib = uselib, 11 source = [target_name] + extra_source, 12 target = str(target_name).split('.')[0], 13 includes = includes, 14 install_path = None, 15 defines = 'AUBIO_UNSTABLE_API=1', 16 cflags = ['-g'], 17 use = 'aubio')
Note: See TracChangeset
for help on using the changeset viewer.