source: src/wscript_build @ 49e40cc

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 49e40cc was 1b25a70, checked in by Paul Brossier <piem@piem.org>, 11 years ago

examples/: move parse_args to parse_args.h, clean up, remove lash and old frames_delay

  • Property mode set to 100644
File size: 1013 bytes
Line 
1# vim:set syntax=python:
2
3source = ctx.path.ant_glob('*.c **/*.c')
4uselib = []
5uselib += ['FFTW3', 'FFTW3F']
6uselib += ['SAMPLERATE']
7uselib += ['SNDFILE']
8uselib += ['AVCODEC']
9uselib += ['AVFORMAT']
10uselib += ['AVRESAMPLE']
11uselib += ['AVUTIL']
12uselib += ['JACK']
13
14ctx(features = 'c',
15      source = source,
16      includes = ['.'],
17      uselib = uselib,
18      lib = 'm',
19      target = 'lib_objects')
20
21# build libaubio.so (cshlib) and/or libaubio.a (cstlib)
22if ctx.env['DEST_OS'] in ['ios', 'iosimulator']:
23    build_features = ['cstlib']
24else: #linux, darwin, android, mingw, ...
25    build_features = ['cshlib', 'cstlib']
26
27for target in build_features:
28  ctx(features = 'c ' + target,
29      use = ['lib_objects'], #source = source,
30      target = 'aubio',
31      install_path = '${PREFIX}/lib',
32      vnum = ctx.env['LIB_VERSION'])
33
34# install headers, except _priv.h ones
35ctx.install_files('${PREFIX}/include/aubio/',
36    ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
37    relative_trick=True)
Note: See TracBrowser for help on using the repository browser.