Changeset 6ed0f4e for examples


Ignore:
Timestamp:
Feb 10, 2013, 1:03:21 AM (11 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:
c57ecd9
Parents:
cbc9765
Message:

waf: update to 1.7.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    rcbc9765 r6ed0f4e  
    22
    33# build examples
    4 utilsio = ctx.new_task_gen(name = 'utilsio', features = 'c',
    5       includes = '../src',
    6       source = ['utils.c', 'jackio.c'],
    7       uselib = ['LASH', 'JACK'],
    8       target = 'utilsio')
     4utilsio = bld(
     5        name = 'utilsio',
     6        features = 'c',
     7        includes = '../src',
     8        source = ['utils.c', 'jackio.c'],
     9        uselib = ['LASH', 'JACK'],
     10        target = 'utilsio')
    911
    1012# loop over all *.c filenames in examples to build them all
    11 for target_name in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
    12   ctx.new_task_gen(features = 'c cprogram',
    13       add_objects = 'utilsio',
     13for source_file in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
     14  bld.program(features = 'c cprogram',
    1415      includes = '../src',
    15       uselib = ['LASH', 'JACK', 'SNDFILE'],
    16       use = 'aubio',
    17       source = target_name,
    18       # program name is filename.c without the .c
    19       target = str(target_name).split('.')[0])
     16      use = ['aubio', 'LASH', 'JACK', 'SNDFILE', 'utilsio'],
     17      source = str(source_file),
     18      target = str(source_file).split('.')[0]
     19    )
Note: See TracChangeset for help on using the changeset viewer.