summaryrefslogtreecommitdiffstats
path: root/Drivers/CMSIS/DSP/Source/BayesFunctions/CMakeLists.txt
blob: 72a202da68a480d8f777f5e98818e8c262a62252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cmake_minimum_required (VERSION 3.14)

project(CMSISDSPBayes)

include(configLib)
include(configDsp)

file(GLOB SRC "./*_*.c")

add_library(CMSISDSPBayes STATIC)

target_sources(CMSISDSPBayes PRIVATE arm_gaussian_naive_bayes_predict_f32.c)

configLib(CMSISDSPBayes ${ROOT})
configDsp(CMSISDSPBayes ${ROOT})

### Includes
target_include_directories(CMSISDSPBayes PUBLIC "${DSP}/Include")

if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
target_sources(CMSISDSPBayes PRIVATE arm_gaussian_naive_bayes_predict_f16.c)
endif()