adapt cross build.

This commit is contained in:
luocai 2024-09-09 09:53:25 +08:00
parent 28db31167c
commit ea297a427d

View File

@ -44,8 +44,8 @@ add_library(VocieProcess
common_audio/resampler/push_sinc_resampler.h common_audio/resampler/push_sinc_resampler.cc
common_audio/resampler/sinc_resampler.h common_audio/resampler/sinc_resampler.cc
$<$<BOOL:${CROSS_BUILD}>:common_audio/resampler/sinc_resampler_neon.cc>
common_audio/resampler/sinc_resampler_sse.cc
common_audio/resampler/sinc_resampler_avx2.cc
$<$<PLATFORM_ID:Windows>:common_audio/resampler/sinc_resampler_sse.cc>
$<$<PLATFORM_ID:Windows>:common_audio/resampler/sinc_resampler_avx2.cc>
common_audio/signal_processing/complex_bit_reverse.c
common_audio/signal_processing/complex_fft.c
@ -65,7 +65,7 @@ add_library(VocieProcess
common_audio/third_party/ooura/fft_size_128/ooura_fft.h common_audio/third_party/ooura/fft_size_128/ooura_fft.cc
$<$<BOOL:${CROSS_BUILD}>:common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc>
common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc
$<$<PLATFORM_ID:Windows>:common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc>
common_audio/third_party/ooura/fft_size_256/fft4g.h common_audio/third_party/ooura/fft_size_256/fft4g.cc
common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.h common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c
@ -112,8 +112,8 @@ add_library(VocieProcess
modules/audio_processing/include/aec_dump.h modules/audio_processing/include/aec_dump.cc
modules/audio_processing/include/audio_frame_proxies.h modules/audio_processing/include/audio_frame_proxies.cc
modules/audio_processing/aec3/adaptive_fir_filter_avx2.cc
modules/audio_processing/aec3/adaptive_fir_filter_erl_avx2.cc
$<$<PLATFORM_ID:Windows>:modules/audio_processing/aec3/adaptive_fir_filter_avx2.cc>
$<$<PLATFORM_ID:Windows>:modules/audio_processing/aec3/adaptive_fir_filter_erl_avx2.cc>
modules/audio_processing/aec3/adaptive_fir_filter_erl.h modules/audio_processing/aec3/adaptive_fir_filter_erl.cc
modules/audio_processing/aec3/adaptive_fir_filter.h modules/audio_processing/aec3/adaptive_fir_filter.cc
modules/audio_processing/aec3/aec_state.h modules/audio_processing/aec3/aec_state.cc
@ -142,11 +142,11 @@ add_library(VocieProcess
modules/audio_processing/aec3/erl_estimator.h modules/audio_processing/aec3/erl_estimator.cc
modules/audio_processing/aec3/erle_estimator.h modules/audio_processing/aec3/erle_estimator.cc
modules/audio_processing/aec3/fft_buffer.h modules/audio_processing/aec3/fft_buffer.cc
modules/audio_processing/aec3/fft_data_avx2.cc
$<$<PLATFORM_ID:Windows>:modules/audio_processing/aec3/fft_data_avx2.cc>
modules/audio_processing/aec3/filter_analyzer.h modules/audio_processing/aec3/filter_analyzer.cc
modules/audio_processing/aec3/frame_blocker.h modules/audio_processing/aec3/frame_blocker.cc
modules/audio_processing/aec3/fullband_erle_estimator.h modules/audio_processing/aec3/fullband_erle_estimator.cc
modules/audio_processing/aec3/matched_filter_avx2.cc
$<$<PLATFORM_ID:Windows>:modules/audio_processing/aec3/matched_filter_avx2.cc>
modules/audio_processing/aec3/matched_filter_lag_aggregator.h modules/audio_processing/aec3/matched_filter_lag_aggregator.cc
modules/audio_processing/aec3/matched_filter.h modules/audio_processing/aec3/matched_filter.cc
modules/audio_processing/aec3/moving_average.h modules/audio_processing/aec3/moving_average.cc
@ -173,7 +173,7 @@ add_library(VocieProcess
modules/audio_processing/aec3/suppression_filter.h modules/audio_processing/aec3/suppression_filter.cc
modules/audio_processing/aec3/suppression_gain.h modules/audio_processing/aec3/suppression_gain.cc
modules/audio_processing/aec3/transparent_mode.h modules/audio_processing/aec3/transparent_mode.cc
modules/audio_processing/aec3/vector_math_avx2.cc
$<$<PLATFORM_ID:Windows>:modules/audio_processing/aec3/vector_math_avx2.cc>
modules/audio_processing/aecm/aecm_core.h modules/audio_processing/aecm/aecm_core.cc modules/audio_processing/aecm/aecm_core_c.cc
$<$<BOOL:${CROSS_BUILD}>:modules/audio_processing/aecm/aecm_core_neon.cc>