Changeset dc0e759


Ignore:
Timestamp:
Mar 6, 2014, 6:03:49 PM (7 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:
e794a80
Parents:
584016f
Message:

{tests,src,examples}/wscript_build: indent

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • examples/wscript_build

    r584016f rdc0e759  
    99# build examples
    1010bld(features = 'c',
    11       source = utils_source,
    12       includes = ['../src'],
    13       uselib = uselib,
    14       target = 'utilsio')
     11        source = utils_source,
     12        includes = ['../src'],
     13        uselib = uselib,
     14        target = 'utilsio')
    1515
    1616# loop over all *.c filenames in examples to build them all
    1717for source_file in programs_source:
    18   bld(features = 'c cprogram',
    19       includes = '../src',
    20       lib = 'm',
    21       use = ['aubio', 'utilsio'],
    22       source = source_file,
    23       target = str(source_file).split('.')[0]
    24     )
     18    bld(features = 'c cprogram',
     19            includes = '../src',
     20            lib = 'm',
     21            use = ['aubio', 'utilsio'],
     22            source = source_file,
     23            target = str(source_file).split('.')[0]
     24            )
  • src/wscript_build

    r584016f rdc0e759  
    11# vim:set syntax=python:
    22
    3 source = ctx.path.ant_glob('*.c **/*.c')
    43uselib = []
    54uselib += ['FFTW3', 'FFTW3F']
     
    1110uselib += ['AVUTIL']
    1211
     12# build each source files
     13source = ctx.path.ant_glob('*.c **/*.c')
    1314ctx(features = 'c',
    14       source = source,
    15       includes = ['.'],
    16       uselib = uselib,
    17       lib = 'm',
    18       target = 'lib_objects')
     15        source = source,
     16        includes = ['.'],
     17        uselib = uselib,
     18        lib = 'm',
     19        target = 'lib_objects')
    1920
    2021# build libaubio.so (cshlib) and/or libaubio.a (cstlib)
     
    2728
    2829for target in build_features:
    29   ctx(features = 'c ' + target,
    30       use = ['lib_objects'], #source = source,
    31       lib = 'm',
    32       target = 'aubio',
    33       install_path = '${PREFIX}/lib',
    34       vnum = ctx.env['LIB_VERSION'])
     30    ctx(features = 'c ' + target,
     31            use = ['lib_objects'],
     32            lib = 'm',
     33            target = 'aubio',
     34            install_path = '${PREFIX}/lib',
     35            vnum = ctx.env['LIB_VERSION'])
    3536
    3637# install headers, except _priv.h ones
    3738ctx.install_files('${PREFIX}/include/aubio/',
    38     ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
    39     relative_trick=True)
     39        ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
     40        relative_trick=True)
  • tests/wscript_build

    r584016f rdc0e759  
    22
    33for target_name in ctx.path.ant_glob('src/**/*.c'):
    4   uselib = []
    5   includes = ['../src', '.']
    6   extra_source = []
     4    uselib = []
     5    includes = ['../src', '.']
     6    extra_source = []
    77
    8   bld(features = 'c cprogram test',
    9       lib = 'm',
    10       uselib = uselib,
    11       source = [target_name] + extra_source,
    12       target = str(target_name).split('.')[0],
    13       includes = includes,
    14       install_path = None,
    15       defines = 'AUBIO_UNSTABLE_API=1',
    16       cflags = ['-g'],
    17       use = 'aubio')
    18 
     8    bld(features = 'c cprogram test',
     9            lib = 'm',
     10            uselib = uselib,
     11            source = [target_name] + extra_source,
     12            target = str(target_name).split('.')[0],
     13            includes = includes,
     14            install_path = None,
     15            defines = 'AUBIO_UNSTABLE_API=1',
     16            cflags = ['-g'],
     17            use = 'aubio')
Note: See TracChangeset for help on using the changeset viewer.