Changeset 740f06b for examples/wscript_build
- Timestamp:
- Oct 17, 2009, 12:43:00 AM (15 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:
- 858cfa7
- Parents:
- 6107f4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/wscript_build
r6107f4c r740f06b 4 4 defines += ['PACKAGE="' + bld.env['PACKAGE'] + '"'] 5 5 6 extra_source = ['utils.c', 'sndfileio.c', 'jackio.c'] 7 6 8 bld.new_task_gen(features = 'cc', 7 includes = '../src ../ext',8 source = 'utils.c',9 includes = '../src', 10 source = extra_source, 9 11 uselib = ['LASH'], 10 12 defines = defines, 11 target = 'utils ')13 target = 'utils_io') 12 14 13 15 # loop over all *.c filenames in examples to build them all 14 16 for target_name in bld.path.ant_glob('*.c').split(): 15 17 # ignore utils.c 16 if target_name in ['utils.c']: continue18 if target_name in extra_source: continue 17 19 bld.new_task_gen(features = 'cc cprogram', 18 add_objects = 'utils ',19 includes = '../src ../ext',20 add_objects = 'utils_io', 21 includes = '../src', 20 22 defines = defines, 21 uselib = ['LASH' ],22 uselib_local = ['aubio' , 'aubioext'],23 uselib = ['LASH', 'JACK', 'SNDFILE'], 24 uselib_local = ['aubio'], 23 25 source = target_name, 24 26 # program name is filename.c without the .c
Note: See TracChangeset
for help on using the changeset viewer.