feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since d75c900 was
19ddbf3,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
wscript: set DEST_OS, use -isysroot and -mios-simulator-version-min
|
-
Property mode set to
100644
|
File size:
697 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 | if ctx.env['DEST_OS'] in ['ios', 'iosimulator']: |
---|
14 | build_lib_func = ctx.stlib |
---|
15 | else: |
---|
16 | build_lib_func = ctx.shlib |
---|
17 | |
---|
18 | build_lib_func( |
---|
19 | includes = ['.'], |
---|
20 | source = source, |
---|
21 | target = 'aubio', |
---|
22 | lib = 'm', |
---|
23 | uselib = uselib, |
---|
24 | install_path = '${PREFIX}/lib', |
---|
25 | vnum = ctx.env['LIB_VERSION']) |
---|
26 | |
---|
27 | # install headers, except _priv.h ones |
---|
28 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
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.