feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since cd4c997 was
dc0e759,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
{tests,src,examples}/wscript_build: indent
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[0e355f6] | 1 | # vim:set syntax=python: |
---|
| 2 | |
---|
[eae5898] | 3 | uselib = [] |
---|
[0318cc1] | 4 | uselib += ['FFTW3', 'FFTW3F'] |
---|
| 5 | uselib += ['SAMPLERATE'] |
---|
| 6 | uselib += ['SNDFILE'] |
---|
[ba0ba10] | 7 | uselib += ['AVCODEC'] |
---|
| 8 | uselib += ['AVFORMAT'] |
---|
| 9 | uselib += ['AVRESAMPLE'] |
---|
| 10 | uselib += ['AVUTIL'] |
---|
[eae5898] | 11 | |
---|
[dc0e759] | 12 | # build each source files |
---|
| 13 | source = ctx.path.ant_glob('*.c **/*.c') |
---|
[985a5d1] | 14 | ctx(features = 'c', |
---|
[dc0e759] | 15 | source = source, |
---|
| 16 | includes = ['.'], |
---|
| 17 | uselib = uselib, |
---|
| 18 | lib = 'm', |
---|
| 19 | target = 'lib_objects') |
---|
[afbd7e7] | 20 | |
---|
[985a5d1] | 21 | # build libaubio.so (cshlib) and/or libaubio.a (cstlib) |
---|
[19ddbf3] | 22 | if ctx.env['DEST_OS'] in ['ios', 'iosimulator']: |
---|
[7fd1831] | 23 | build_features = ['cstlib'] |
---|
[06dba46] | 24 | elif ctx.env['DEST_OS'] in ['win32', 'win64']: |
---|
| 25 | build_features = ['cshlib'] |
---|
[cdfc394] | 26 | else: #linux, darwin, android, mingw, ... |
---|
[7fd1831] | 27 | build_features = ['cshlib', 'cstlib'] |
---|
[b712146] | 28 | |
---|
[7fd1831] | 29 | for target in build_features: |
---|
[dc0e759] | 30 | ctx(features = 'c ' + target, |
---|
| 31 | use = ['lib_objects'], |
---|
| 32 | lib = 'm', |
---|
| 33 | target = 'aubio', |
---|
| 34 | install_path = '${PREFIX}/lib', |
---|
| 35 | vnum = ctx.env['LIB_VERSION']) |
---|
[000b090] | 36 | |
---|
| 37 | # install headers, except _priv.h ones |
---|
[d41bc4d] | 38 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
[dc0e759] | 39 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
| 40 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.