source: examples/wscript_build @ 2359cbd

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchpitchshiftsamplertimestretchyinfft+
Last change on this file since 2359cbd was 2359cbd, checked in by Paul Brossier <piem@piem.org>, 10 years ago

wscript: factorise build of extra source files

  • Property mode set to 100644
File size: 520 bytes
Line 
1# build examples
2
3# loop over all *.c filenames in examples to build them all
4for 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',
8      add_objects = 'utilsio',
9      includes = '../src',
10      uselib = ['LASH', 'JACK', 'SNDFILE'],
11      uselib_local = ['aubio'],
12      source = target_name,
13      # program name is filename.c without the .c
14      target = target_name.split('.')[0])
Note: See TracBrowser for help on using the repository browser.