Ignore:
Timestamp:
Jul 10, 2012, 1:06:11 AM (12 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:
dbf47c6
Parents:
f4493f4
Message:

wscript, /wscript_build: use ctx to match latest waf docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    rf4493f4 rd41bc4d  
    22
    33# build examples
    4 sndfileio = bld.new_task_gen(features = 'c',
     4sndfileio = ctx.new_task_gen(features = 'c',
    55    includes = '../src',
    66    source = ['sndfileio.c'],
    77    target = 'sndfileio')
    88
    9 utilsio = bld.new_task_gen(name = 'utilsio', features = 'c',
     9utilsio = ctx.new_task_gen(name = 'utilsio', features = 'c',
    1010      includes = '../src',
    1111      add_objects = 'sndfileio',
     
    1515
    1616# loop over all *.c filenames in examples to build them all
    17 for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
    18   bld.new_task_gen(features = 'c cprogram',
     17for target_name in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
     18  ctx.new_task_gen(features = 'c cprogram',
    1919      add_objects = 'utilsio',
    2020      includes = '../src',
Note: See TracChangeset for help on using the changeset viewer.