Ignore:
Timestamp:
Feb 11, 2013, 11:06:28 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:
050a8f3
Parents:
5314432 (diff), 88fc249 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge from develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    r5314432 rfc117d0  
    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.