- Timestamp:
- Jul 11, 2012, 12:33:09 AM (12 years ago)
- 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:
- c71e405
- Parents:
- 4db0752
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r4db0752 rc325a11 64 64 #ctx.check_tool('misc') # needed for subst 65 65 ctx.load('waf_unit_test') 66 ctx.env.CFLAGS = ['-g'] 66 67 67 68 if Options.options.target_platform: … … 124 125 else: 125 126 # fftw disabled, use ooura 126 ctx.msg(' Fftw disabled', 'usingooura')127 ctx.msg('Checking for FFT implementation', 'ooura') 127 128 pass 128 129 … … 180 181 181 182 # add sub directories 182 ctx.add_subdirs( 'src examples')183 ctx.add_subdirs(['src','examples']) 183 184 if ctx.env['SWIG']: 184 185 if ctx.env['PYTHON']: … … 220 221 def build_tests(ctx): 221 222 for target_name in ctx.path.ant_glob('tests/src/**/*.c'): 223 uselib = [] 222 224 includes = ['src'] 223 uselib = [] 224 if not str(target_name).endswith('-jack.c'): 225 includes = [] 226 uselib = [] 227 extra_source = [] 228 else: 229 # phasevoc-jack needs jack 230 if ctx.env['JACK']: 231 includes = ['examples'] 232 uselib = ['JACK'] 233 extra_source = ['examples/jackio.c'] 234 else: 235 continue 225 extra_source = [] 226 if str(target_name).endswith('-jack.c') and ctx.env['JACK']: 227 uselib += ['JACK'] 228 includes += ['examples'] 229 extra_source += ['examples/jackio.c'] 236 230 237 231 this_target = ctx.new_task_gen( … … 240 234 source = [target_name] + extra_source, 241 235 target = str(target_name).split('.')[0], 242 includes = ['src'] +includes,236 includes = includes, 243 237 defines = 'AUBIO_UNSTABLE_API=1', 238 cflags = ['-g'], 244 239 use = 'aubio')
Note: See TracChangeset
for help on using the changeset viewer.