1cmake_minimum_required (VERSION 3.14) 2 3project(CMSISDSPStatistics) 4 5include(configLib) 6include(configDsp) 7 8 9 10add_library(CMSISDSPStatistics STATIC) 11 12target_sources(CMSISDSPStatistics PRIVATE arm_entropy_f32.c) 13target_sources(CMSISDSPStatistics PRIVATE arm_entropy_f64.c) 14target_sources(CMSISDSPStatistics PRIVATE arm_kullback_leibler_f32.c) 15target_sources(CMSISDSPStatistics PRIVATE arm_kullback_leibler_f64.c) 16target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_dot_prod_f32.c) 17target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_f32.c) 18target_sources(CMSISDSPStatistics PRIVATE arm_max_f32.c) 19target_sources(CMSISDSPStatistics PRIVATE arm_max_no_idx_f32.c) 20target_sources(CMSISDSPStatistics PRIVATE arm_max_q15.c) 21target_sources(CMSISDSPStatistics PRIVATE arm_max_q31.c) 22target_sources(CMSISDSPStatistics PRIVATE arm_max_q7.c) 23target_sources(CMSISDSPStatistics PRIVATE arm_mean_f32.c) 24target_sources(CMSISDSPStatistics PRIVATE arm_mean_q15.c) 25target_sources(CMSISDSPStatistics PRIVATE arm_mean_q31.c) 26target_sources(CMSISDSPStatistics PRIVATE arm_mean_q7.c) 27target_sources(CMSISDSPStatistics PRIVATE arm_min_f32.c) 28target_sources(CMSISDSPStatistics PRIVATE arm_min_q15.c) 29target_sources(CMSISDSPStatistics PRIVATE arm_min_q31.c) 30target_sources(CMSISDSPStatistics PRIVATE arm_min_q7.c) 31target_sources(CMSISDSPStatistics PRIVATE arm_power_f32.c) 32target_sources(CMSISDSPStatistics PRIVATE arm_power_q15.c) 33target_sources(CMSISDSPStatistics PRIVATE arm_power_q31.c) 34target_sources(CMSISDSPStatistics PRIVATE arm_power_q7.c) 35target_sources(CMSISDSPStatistics PRIVATE arm_rms_f32.c) 36target_sources(CMSISDSPStatistics PRIVATE arm_rms_q15.c) 37target_sources(CMSISDSPStatistics PRIVATE arm_rms_q31.c) 38target_sources(CMSISDSPStatistics PRIVATE arm_std_f32.c) 39target_sources(CMSISDSPStatistics PRIVATE arm_std_q15.c) 40target_sources(CMSISDSPStatistics PRIVATE arm_std_q31.c) 41target_sources(CMSISDSPStatistics PRIVATE arm_var_f32.c) 42target_sources(CMSISDSPStatistics PRIVATE arm_var_q15.c) 43target_sources(CMSISDSPStatistics PRIVATE arm_var_q31.c) 44 45target_sources(CMSISDSPStatistics PRIVATE arm_absmax_f32.c) 46target_sources(CMSISDSPStatistics PRIVATE arm_absmax_q15.c) 47target_sources(CMSISDSPStatistics PRIVATE arm_absmax_q31.c) 48target_sources(CMSISDSPStatistics PRIVATE arm_absmax_q7.c) 49 50target_sources(CMSISDSPStatistics PRIVATE arm_absmin_f32.c) 51target_sources(CMSISDSPStatistics PRIVATE arm_absmin_q15.c) 52target_sources(CMSISDSPStatistics PRIVATE arm_absmin_q31.c) 53target_sources(CMSISDSPStatistics PRIVATE arm_absmin_q7.c) 54 55configLib(CMSISDSPStatistics ${ROOT}) 56configDsp(CMSISDSPStatistics ${ROOT}) 57 58### Includes 59target_include_directories(CMSISDSPStatistics PUBLIC "${DSP}/Include") 60 61 62 63if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16)) 64target_sources(CMSISDSPStatistics PRIVATE arm_max_f16.c) 65target_sources(CMSISDSPStatistics PRIVATE arm_min_f16.c) 66target_sources(CMSISDSPStatistics PRIVATE arm_mean_f16.c) 67target_sources(CMSISDSPStatistics PRIVATE arm_power_f16.c) 68target_sources(CMSISDSPStatistics PRIVATE arm_rms_f16.c) 69target_sources(CMSISDSPStatistics PRIVATE arm_std_f16.c) 70target_sources(CMSISDSPStatistics PRIVATE arm_var_f16.c) 71target_sources(CMSISDSPStatistics PRIVATE arm_entropy_f16.c) 72target_sources(CMSISDSPStatistics PRIVATE arm_kullback_leibler_f16.c) 73target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_dot_prod_f16.c) 74target_sources(CMSISDSPStatistics PRIVATE arm_logsumexp_f16.c) 75target_sources(CMSISDSPStatistics PRIVATE arm_max_no_idx_f16.c) 76 77target_sources(CMSISDSPStatistics PRIVATE arm_absmax_f16.c) 78target_sources(CMSISDSPStatistics PRIVATE arm_absmin_f16.c) 79 80endif()