source: src/wscript_build @ 19ddbf3

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

wscript: set DEST_OS, use -isysroot and -mios-simulator-version-min

  • Property mode set to 100644
File size: 697 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
[19ddbf3]13if ctx.env['DEST_OS'] in ['ios', 'iosimulator']:
[b712146]14    build_lib_func = ctx.stlib
15else:
16    build_lib_func = ctx.shlib
17
[30250de]18build_lib_func(
[000b090]19    includes = ['.'],
[729a3c0]20    source = source,
[000b090]21    target = 'aubio',
[729a3c0]22    lib = 'm',
23    uselib = uselib,
[2c2fe44]24    install_path = '${PREFIX}/lib',
[d41bc4d]25    vnum = ctx.env['LIB_VERSION'])
[000b090]26
27# install headers, except _priv.h ones
[d41bc4d]28ctx.install_files('${PREFIX}/include/aubio/',
[6ed0f4e]29    ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
30    relative_trick=True)
Note: See TracBrowser for help on using the repository browser.