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 | |
---|
3 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
4 | uselib = [] |
---|
5 | uselib += ['FFTW3', 'FFTW3F'] |
---|
6 | uselib += ['SAMPLERATE'] |
---|
7 | uselib += ['SNDFILE'] |
---|
8 | uselib += ['JACK'] |
---|
9 | uselib += ['LASH'] |
---|
10 | |
---|
11 | |
---|
12 | # build libaubio |
---|
13 | from waflib import Options |
---|
14 | if Options.platform in ['ios', 'iosimulator']: |
---|
15 | build_lib_func = ctx.stlib |
---|
16 | else: |
---|
17 | build_lib_func = ctx.shlib |
---|
18 | |
---|
19 | build_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 |
---|
29 | ctx.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.