1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
testresample = executable(
'testresample',
'testresample.c',
dependencies : [libm_dep],
link_with : [resample],
)
test('testresample', testresample)
sndfile_dep = dependency(
'sndfile',
required : get_option('libsndfile'),
)
if sndfile_dep.found()
resample_sndfile = executable(
'resample-sndfile',
'resample-sndfile.c',
dependencies : [sndfile_dep],
link_with : [resample],
install : true,
)
endif
samplerate_dep = dependency(
'samplerate',
required : get_option('libsamplerate'),
)
if samplerate_dep.found()
compareresample = executable(
'compareresample',
'compareresample.c',
dependencies : [libm_dep, samplerate_dep],
link_with : [resample],
)
test('compareresample', compareresample)
endif
|