Changeset d62c32f


Ignore:
Timestamp:
Jul 10, 2012, 12:36:16 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:
6017f94
Parents:
dda6ba6
Message:

examples/wscript_build: update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

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