feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 5d16185 was
30250de,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
wscript: build a static lib for iphone, add a message about licensing
|
-
Property mode set to
100644
|
File size:
766 bytes
|
Rev | Line | |
---|
[0e355f6] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
[eae5898] | 3 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
| 4 | uselib = [] |
---|
| 5 | |
---|
[729a3c0] | 6 | if 'HAVE_FFTW3' in conf.get_env(): |
---|
[eae5898] | 7 | source.filter(lambda x: not x.endswith('ooura_fft8g.c')) |
---|
[729a3c0] | 8 | uselib += ['FFTW3', 'FFTW3F'] |
---|
[eae5898] | 9 | |
---|
| 10 | if 'HAVE_SAMPLERATE': |
---|
| 11 | uselib += ['SAMPLERATE'] |
---|
[729a3c0] | 12 | |
---|
[afbd7e7] | 13 | if 'HAVE_SNDFILE': |
---|
| 14 | uselib += ['SNDFILE'] |
---|
| 15 | |
---|
[000b090] | 16 | # build libaubio |
---|
[30250de] | 17 | from waflib import Options |
---|
| 18 | if Options.platform == 'ios': build_lib_func = ctx.stlib |
---|
| 19 | else: build_lib_func = ctx.shlib |
---|
| 20 | build_lib_func( |
---|
[000b090] | 21 | includes = ['.'], |
---|
[729a3c0] | 22 | source = source, |
---|
[000b090] | 23 | target = 'aubio', |
---|
[729a3c0] | 24 | lib = 'm', |
---|
| 25 | uselib = uselib, |
---|
[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 | |
---|
| 31 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
| 32 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.