Changeset 762c7fa


Ignore:
Timestamp:
May 3, 2016, 1:33:30 AM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
21def97
Parents:
ccc55bd
Message:

examples/wscript_build: use 'use =', simplify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    rccc55bd r762c7fa  
    11# vim:set syntax=python:
    22
    3 lib = ['aubio']
    4 lib += ['m'] if 'CL.exe' not in ctx.env.CC[0] else []
     3uselib = ['aubio']
     4uselib += ['JACK']
    55
    6 uselib = []
    7 uselib += ['FFTW3', 'FFTW3F']
    8 uselib += ['SAMPLERATE']
    9 uselib += ['SNDFILE']
    10 uselib += ['AVCODEC']
    11 uselib += ['AVFORMAT']
    12 uselib += ['AVRESAMPLE']
    13 uselib += ['AVUTIL']
    14 uselib += ['JACK']
    15 uselib += ['BLAS']
    16 
     6includes = ['../src']
    177utils_source = ['utils.c', 'jackio.c']
    188programs_source = ctx.path.ant_glob('*.c', excl = utils_source)
     
    2111bld(features = 'c',
    2212        source = utils_source,
    23         includes = ['../src'],
    24         uselib = uselib,
     13        includes = includes,
     14        use = uselib,
    2515        target = 'utilsio')
    2616
     
    2818for source_file in programs_source:
    2919    bld(features = 'c cprogram',
    30             includes = '../src',
    31             lib = lib,
    32             use = ['aubio', 'utilsio'],
    33             uselib = uselib,
    3420            source = source_file,
    35             target = str(source_file).split('.')[0]
    36             )
     21            target = str(source_file).split('.')[0],
     22            includes = includes,
     23            use = uselib + ['utilsio'],
     24       )
Note: See TracChangeset for help on using the changeset viewer.