source: src/wscript_build @ cfaa3c4

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since cfaa3c4 was 729a3c0, checked in by Paul Brossier <piem@piem.org>, 13 years ago

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

  • Property mode set to 100644
File size: 551 bytes
RevLine 
[729a3c0]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
[000b090]8# build libaubio
[729a3c0]9bld.shlib(
[000b090]10    includes = ['.'],
[729a3c0]11    source = source,
[000b090]12    target = 'aubio',
[729a3c0]13    lib = 'm',
14    uselib = uselib,
[000b090]15    vnum = bld.env['LIB_VERSION'])
16
17# install headers, except _priv.h ones
[46378b3]18bld.install_files('${PREFIX}/include/aubio/',
19        bld.path.ant_glob('**/*.h',
20        exclude = ['_priv.h', 'config.h']),
21        relative_trick=True)
Note: See TracBrowser for help on using the repository browser.