source: src/wscript_build @ c0fe2a9

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since c0fe2a9 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
Line 
1# vim:set syntax=python:
2
3source = ctx.path.ant_glob('*.c **/*.c')
4uselib = []
5uselib += ['FFTW3', 'FFTW3F']
6uselib += ['SAMPLERATE']
7uselib += ['SNDFILE']
8uselib += ['JACK']
9uselib += ['LASH']
10
11
12# build libaubio
13from waflib import Options
14if Options.platform in ['ios', 'iosimulator']:
15    build_lib_func = ctx.stlib
16else:
17    build_lib_func = ctx.shlib
18
19build_lib_func(
20    includes = ['.'],
21    source = source,
22    target = 'aubio',
23    lib = 'm',
24    uselib = uselib,
25    install_path = '${PREFIX}/lib',
26    vnum = ctx.env['LIB_VERSION'])
27
28# install headers, except _priv.h ones
29ctx.install_files('${PREFIX}/include/aubio/',
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.