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
|
Rev | Line | |
---|
[0e355f6] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
[eae5898] | 3 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
| 4 | uselib = [] |
---|
[0318cc1] | 5 | uselib += ['FFTW3', 'FFTW3F'] |
---|
| 6 | uselib += ['SAMPLERATE'] |
---|
| 7 | uselib += ['SNDFILE'] |
---|
| 8 | uselib += ['JACK'] |
---|
| 9 | uselib += ['LASH'] |
---|
[eae5898] | 10 | |
---|
[afbd7e7] | 11 | |
---|
[000b090] | 12 | # build libaubio |
---|
[30250de] | 13 | from waflib import Options |
---|
[0c77921] | 14 | if Options.platform in ['ios', 'iosimulator']: |
---|
[b712146] | 15 | build_lib_func = ctx.stlib |
---|
| 16 | else: |
---|
| 17 | build_lib_func = ctx.shlib |
---|
| 18 | |
---|
[30250de] | 19 | build_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] | 29 | ctx.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.