Changeset 46378b3 for examples/wscript_build
- Timestamp:
- Sep 26, 2011, 8:21:00 AM (13 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:
- 2a6e672
- Parents:
- 20ae690
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/wscript_build
r20ae690 r46378b3 1 1 # build examples 2 sndfileio = bld.new_task_gen(features = 'c', 3 includes = '../src', 4 source = ['sndfileio.c'], 5 target = 'sndfileio') 6 7 utilsio = bld.new_task_gen(features = 'c', 8 includes = '../src', 9 add_objects = 'sndfileio', 10 source = ['utils.c', 'jackio.c'], 11 uselib = ['LASH', 'JACK', 'SNDFILE'], 12 target = 'utilsio') 2 13 3 14 # loop over all *.c filenames in examples to build them all 4 for target_name in bld.path.ant_glob('*.c').split(): 5 # ignore utils.c 6 if target_name in ['utils.c', 'jackio.c', 'sndfileio.c']: continue 7 bld.new_task_gen(features = 'cc cprogram', 15 for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']): 16 bld.new_task_gen(features = 'c cprogram', 8 17 add_objects = 'utilsio', 9 18 includes = '../src', 10 19 uselib = ['LASH', 'JACK', 'SNDFILE'], 11 use lib_local= ['aubio'],20 use = ['aubio'], 12 21 source = target_name, 13 22 # program name is filename.c without the .c 14 target = target_name.split('.')[0])23 target = str(target_name).split('.')[0])
Note: See TracChangeset
for help on using the changeset viewer.