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