Changeset 729a3c0 for src/wscript_build


Ignore:
Timestamp:
Nov 17, 2011, 2:29:35 AM (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:
cfaa3c4
Parents:
e298138
Message:

add support for ooura so that aubio can be build without fftw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wscript_build

    re298138 r729a3c0  
     1uselib = ['SAMPLERATE']
     2if 'HAVE_FFTW3' in conf.get_env():
     3  source = bld.path.ant_glob('*.c **/*.c', excl = ['**/ooura_fft8g.c'])
     4  uselib += ['FFTW3', 'FFTW3F']
     5else:
     6  source = bld.path.ant_glob('*.c **/*.c')
     7
    18# build libaubio
    2 libaubio = bld.new_task_gen(
    3     features = 'c cshlib',
     9bld.shlib(
    410    includes = ['.'],
    5     source = bld.path.ant_glob('*.c **/*.c'),
     11    source = source,
    612    target = 'aubio',
    7     uselib = ['FFTW3', 'FFTW3F', 'SAMPLERATE'],
     13    lib = 'm',
     14    uselib = uselib,
    815    vnum = bld.env['LIB_VERSION'])
    916
Note: See TracChangeset for help on using the changeset viewer.