1cmake_minimum_required (VERSION 3.14) 2 3project(CMSISDSPBayes) 4 5include(configLib) 6include(configDsp) 7 8file(GLOB SRC "./*_*.c") 9 10add_library(CMSISDSPBayes STATIC) 11 12target_sources(CMSISDSPBayes PRIVATE arm_gaussian_naive_bayes_predict_f32.c) 13 14configLib(CMSISDSPBayes ${ROOT}) 15configDsp(CMSISDSPBayes ${ROOT}) 16 17### Includes 18target_include_directories(CMSISDSPBayes PUBLIC "${DSP}/Include") 19 20if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16)) 21target_sources(CMSISDSPBayes PRIVATE arm_gaussian_naive_bayes_predict_f16.c) 22endif() 23 24