Changeset eae5898


Ignore:
Timestamp:
Jul 13, 2012, 9:00:12 PM (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:
4d75b46
Parents:
9316173
Message:

src/io: moved sndfileio from examples

Files:
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    r9316173 reae5898  
    22
    33# build examples
    4 sndfileio = ctx.new_task_gen(features = 'c',
    5     includes = '../src',
    6     source = ['sndfileio.c'],
    7     target = 'sndfileio')
    8 
    94utilsio = ctx.new_task_gen(name = 'utilsio', features = 'c',
    105      includes = '../src',
    11       add_objects = 'sndfileio',
    126      source = ['utils.c', 'jackio.c'],
    13       uselib = ['LASH', 'JACK', 'SNDFILE'],
     7      uselib = ['LASH', 'JACK'],
    148      target = 'utilsio')
    159
    1610# loop over all *.c filenames in examples to build them all
    17 for target_name in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c', 'sndfileio.c']):
     11for target_name in ctx.path.ant_glob('*.c', excl = ['utils.c', 'jackio.c']):
    1812  ctx.new_task_gen(features = 'c cprogram',
    1913      add_objects = 'utilsio',
  • src/wscript_build

    r9316173 reae5898  
    11# vim:set syntax=python:
    22
    3 uselib = ['SAMPLERATE']
     3source = ctx.path.ant_glob('*.c **/*.c')
     4uselib = []
     5
    46if 'HAVE_FFTW3' in conf.get_env():
    5   source = ctx.path.ant_glob('*.c **/*.c', excl = ['**/ooura_fft8g.c'])
     7  source.filter(lambda x: not x.endswith('ooura_fft8g.c'))
    68  uselib += ['FFTW3', 'FFTW3F']
    7 else:
    8   source = ctx.path.ant_glob('*.c **/*.c')
     9
     10if 'HAVE_SAMPLERATE':
     11  uselib += ['SAMPLERATE']
    912
    1013# build libaubio
Note: See TracChangeset for help on using the changeset viewer.