Ignore:
Timestamp:
Sep 26, 2011, 8:21:00 AM (13 years ago)
Author:
Paul Brossier <piem@piem.org>
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
Message:

wscript: update to waf 1.6.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    r20ae690 r46378b3  
    11# build examples
     2sndfileio = bld.new_task_gen(features = 'c',
     3    includes = '../src',
     4    source = ['sndfileio.c'],
     5    target = 'sndfileio')
     6
     7utilsio = 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')
    213
    314# 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',
     15for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
     16  bld.new_task_gen(features = 'c cprogram',
    817      add_objects = 'utilsio',
    918      includes = '../src',
    1019      uselib = ['LASH', 'JACK', 'SNDFILE'],
    11       uselib_local = ['aubio'],
     20      use = ['aubio'],
    1221      source = target_name,
    1322      # 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.