source: src/wscript_build @ 8a22fc4

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since 8a22fc4 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
RevLine 
[0e355f6]1# vim:set syntax=python:
2
[eae5898]3source = ctx.path.ant_glob('*.c **/*.c')
4uselib = []
[0318cc1]5uselib += ['FFTW3', 'FFTW3F']
6uselib += ['SAMPLERATE']
7uselib += ['SNDFILE']
[ba0ba10]8uselib += ['AVCODEC']
9uselib += ['AVFORMAT']
10uselib += ['AVRESAMPLE']
11uselib += ['AVUTIL']
[0318cc1]12uselib += ['JACK']
[eae5898]13
[985a5d1]14ctx(features = 'c',
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]22if ctx.env['DEST_OS'] in ['ios', 'iosimulator']:
[7fd1831]23    build_features = ['cstlib']
[cdfc394]24else: #linux, darwin, android, mingw, ...
[7fd1831]25    build_features = ['cshlib', 'cstlib']
[b712146]26
[7fd1831]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'])
[000b090]33
34# install headers, except _priv.h ones
[d41bc4d]35ctx.install_files('${PREFIX}/include/aubio/',
[6ed0f4e]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.