- pass
-
-# loop over all *.c filenames in tests/src to build them all
-# target name is filename.c without the .c
-def build_tests(bld):
- for target_name in bld.path.ant_glob('tests/src/**/*.c').split():
- this_target = bld.new_task_gen(
- features = 'cc cprogram test',
- source = target_name,
- target = target_name.split('.')[0],
- includes = 'src',
- defines = 'AUBIO_UNSTABLE_API=1',
- uselib_local = 'aubio')
- # phasevoc-jack also needs jack
- if target_name.endswith('test-phasevoc-jack.c'):
- this_target.includes = ['src', 'examples']
- this_target.uselib_local = ['aubio']
- this_target.uselib = ['JACK']
- this_target.source += ' examples/jackio.c'
-
-def build_extras(bld):
- # corner cases to build these ones only once
- sndfileio = bld.new_task_gen(features = 'cc',
- includes = 'examples src',
- source = ['examples/sndfileio.c'],
- target = 'sndfileio')
-
- defines = ['AUBIO_PREFIX="' + bld.env['AUBIO_PREFIX'] + '"']
- defines += ['PACKAGE="' + bld.env['PACKAGE'] + '"']
-
- utilsio = bld.new_task_gen(features = 'cc',
- includes = 'examples src',
- add_objects = 'sndfileio',
- source = ['examples/utils.c', 'examples/jackio.c'],
- uselib = ['LASH', 'JACK', 'SNDFILE'],
- defines = defines,
- target = 'utilsio')
+ from waflib import Options, Logs
+ if Options.platform == 'ios':
+ msg ='aubio built for ios, contact the author for a commercial license'
+ Logs.pprint('RED', msg)
+ msg =' Paul Brossier <piem@aubio.org>'
+ Logs.pprint('RED', msg)