Changeset ccc55bd


Ignore:
Timestamp:
May 3, 2016, 1:30:10 AM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
762c7fa
Parents:
ae36035
Message:

src/wscript_build: use 'use =', simplify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wscript_build

    rae36035 rccc55bd  
    22
    33uselib = []
     4uselib += ['M']
    45uselib += ['FFTW3', 'FFTW3F']
    56uselib += ['SAMPLERATE']
     
    1112uselib += ['BLAS']
    1213
    13 # build each source files
    1414source = ctx.path.ant_glob('*.c **/*.c')
    15 lib = 'm' if 'CL.exe' not in ctx.env.CC[0] else None
     15
    1616ctx(features = 'c',
    1717        source = source,
    1818        includes = ['.'],
    19         uselib = uselib,
    20         lib = lib,
     19        use = uselib,
    2120        target = 'lib_objects')
    2221
     
    3332for target in build_features:
    3433    ctx(features = 'c ' + target,
    35             use = ['lib_objects'],
    36             uselib = uselib,
    37             lib = lib,
     34            use = uselib + ['lib_objects'],
    3835            target = 'aubio',
    3936            vnum = ctx.env['LIB_VERSION'])
Note: See TracChangeset for help on using the changeset viewer.