1cmake_minimum_required (VERSION 3.14)
2
3project(CMSISDSPSupport)
4
5include(configLib)
6include(configDsp)
7
8file(GLOB SRC "./*_*.c")
9
10add_library(CMSISDSPSupport STATIC ${SRC})
11
12configLib(CMSISDSPSupport ${ROOT})
13configDsp(CMSISDSPSupport ${ROOT})
14
15### Includes
16target_include_directories(CMSISDSPSupport PUBLIC "${DSP}/Include")
17
18if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
19target_sources(CMSISDSPSupport PRIVATE arm_copy_f16.c)
20target_sources(CMSISDSPSupport PRIVATE arm_fill_f16.c)
21target_sources(CMSISDSPSupport PRIVATE arm_f16_to_q15.c)
22target_sources(CMSISDSPSupport PRIVATE arm_q15_to_f16.c)
23target_sources(CMSISDSPSupport PRIVATE arm_float_to_f16.c)
24target_sources(CMSISDSPSupport PRIVATE arm_f16_to_float.c)
25target_sources(CMSISDSPSupport PRIVATE arm_weighted_sum_f16.c)
26target_sources(CMSISDSPSupport PRIVATE arm_barycenter_f16.c)
27endif()
28
29