source: src/wscript_build @ 4dd7816

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 4dd7816 was 0c77921, checked in by Paul Brossier <piem@piem.org>, 11 years ago

src/wscript_build: add ios simulator

  • Property mode set to 100644
File size: 722 bytes
RevLine 
[0e355f6]1# vim:set syntax=python:
2
[eae5898]3source = ctx.path.ant_glob('*.c **/*.c')
4uselib = []
[0318cc1]5uselib += ['FFTW3', 'FFTW3F']
6uselib += ['SAMPLERATE']
7uselib += ['SNDFILE']
8uselib += ['JACK']
9uselib += ['LASH']
[eae5898]10
[afbd7e7]11
[000b090]12# build libaubio
[30250de]13from waflib import Options
[0c77921]14if Options.platform in ['ios', 'iosimulator']:
[b712146]15    build_lib_func = ctx.stlib
16else:
17    build_lib_func = ctx.shlib
18
[30250de]19build_lib_func(
[000b090]20    includes = ['.'],
[729a3c0]21    source = source,
[000b090]22    target = 'aubio',
[729a3c0]23    lib = 'm',
24    uselib = uselib,
[2c2fe44]25    install_path = '${PREFIX}/lib',
[d41bc4d]26    vnum = ctx.env['LIB_VERSION'])
[000b090]27
28# install headers, except _priv.h ones
[d41bc4d]29ctx.install_files('${PREFIX}/include/aubio/',
[6ed0f4e]30    ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
31    relative_trick=True)
Note: See TracBrowser for help on using the repository browser.