Changeset 110ac90 for examples


Ignore:
Timestamp:
Jan 6, 2012, 11:59:03 PM (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:
b517cb3
Parents:
a5bf9a5
Message:

examples/wscript_build, wscript: update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    ra5bf9a5 r110ac90  
    1 # build examples
    2 sndfileio = bld.new_task_gen(features = 'c',
    3     includes = '../src',
    4     source = ['sndfileio.c'],
    5     target = 'sndfileio')
     1if bld.env['SNDFILE']:
     2  # build examples
     3  sndfileio = bld.new_task_gen(features = 'c',
     4      includes = '../src',
     5      source = ['sndfileio.c'],
     6      target = 'sndfileio')
    67
    7 utilsio = 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')
     8  utilsio = bld.new_task_gen(features = 'c',
     9        includes = '../src',
     10        add_objects = 'sndfileio',
     11        source = ['utils.c', 'jackio.c'],
     12        uselib = ['LASH', 'JACK', 'SNDFILE'],
     13        target = 'utilsio')
    1314
    14 # loop over all *.c filenames in examples to build them all
    15 for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
    16   bld.new_task_gen(features = 'c cprogram',
    17       add_objects = 'utilsio',
    18       includes = '../src',
    19       uselib = ['LASH', 'JACK', 'SNDFILE'],
    20       use = 'aubio',
    21       source = target_name,
    22       # program name is filename.c without the .c
    23       target = str(target_name).split('.')[0])
     15  # loop over all *.c filenames in examples to build them all
     16  for target_name in bld.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
     17    bld.new_task_gen(features = 'c cprogram',
     18        add_objects = 'utilsio',
     19        includes = '../src',
     20        uselib = ['LASH', 'JACK', 'SNDFILE'],
     21        use = 'aubio',
     22        source = target_name,
     23        # program name is filename.c without the .c
     24        target = str(target_name).split('.')[0])
Note: See TracChangeset for help on using the changeset viewer.