feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 3f27a98 was
7fd1831,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
src/wscript_build: really build both targets
|
-
Property mode set to
100644
|
File size:
941 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 | ctx(features = 'c', |
---|
12 | source = source, |
---|
13 | includes = ['.'], |
---|
14 | uselib = uselib, |
---|
15 | lib = 'm', |
---|
16 | target = 'lib_objects') |
---|
17 | |
---|
18 | # build libaubio.so (cshlib) and/or libaubio.a (cstlib) |
---|
19 | if ctx.env['DEST_OS'] in ['ios', 'iosimulator']: |
---|
20 | build_features = ['cstlib'] |
---|
21 | else: #linux, darwin, android, mingw, ... |
---|
22 | build_features = ['cshlib', 'cstlib'] |
---|
23 | |
---|
24 | for target in build_features: |
---|
25 | ctx(features = 'c ' + target, |
---|
26 | use = ['lib_objects'], #source = source, |
---|
27 | target = 'aubio', |
---|
28 | install_path = '${PREFIX}/lib', |
---|
29 | vnum = ctx.env['LIB_VERSION']) |
---|
30 | |
---|
31 | # install headers, except _priv.h ones |
---|
32 | ctx.install_files('${PREFIX}/include/aubio/', |
---|
33 | ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), |
---|
34 | relative_trick=True) |
---|
Note: See
TracBrowser
for help on using the repository browser.