source:
tests/wscript_build
@
4b943729
Last change on this file since 4b943729 was 281381f, checked in by , 8 years ago | |
---|---|
|
|
File size: 495 bytes |
Rev | Line | |
---|---|---|
[6ed0f4e] | 1 | # vim:set syntax=python: |
2 | ||
[281381f] | 3 | import os.path |
4 | ||
[21def97] | 5 | uselib = ['aubio'] |
[58cffee] | 6 | |
7 | includes = ['../src', '.'] | |
[21def97] | 8 | programs_sources = ctx.path.ant_glob('src/**/*.c') |
[58cffee] | 9 | |
[21def97] | 10 | for source_file in programs_sources: |
[281381f] | 11 | target = os.path.basename(os.path.splitext(str(source_file))[0]) |
[dc0e759] | 12 | bld(features = 'c cprogram test', |
[21def97] | 13 | source = source_file, |
[281381f] | 14 | target = target, |
[dc0e759] | 15 | includes = includes, |
[21def97] | 16 | use = uselib, |
[09fab95] | 17 | install_path = None, |
[dc0e759] | 18 | defines = 'AUBIO_UNSTABLE_API=1', |
[21def97] | 19 | ) |
Note: See TracBrowser
for help on using the repository browser.