1cmake_minimum_required (VERSION 3.14)
2
3
4
5target_sources(CMSISDSP PRIVATE CommonTables/arm_common_tables.c
6    CommonTables/arm_common_tables_f16.c)
7
8
9target_sources(CMSISDSP PRIVATE CommonTables/arm_const_structs.c)
10target_sources(CMSISDSP PRIVATE CommonTables/arm_const_structs_f16.c)
11
12
13
14if (NEON OR NEONEXPERIMENTAL)
15    target_sources(CMSISDSP PRIVATE "${DSP}/ComputeLibrary/Source/arm_cl_tables.c")
16endif()
17
18if (HELIUM OR MVEF)
19    target_sources(CMSISDSP PRIVATE "CommonTables/arm_mve_tables.c")
20    target_sources(CMSISDSP PRIVATE "CommonTables/arm_mve_tables_f16.c")
21endif()
22
23
24if (WRAPPER)
25    target_compile_definitions(CMSISDSP PUBLIC ARM_TABLE_BITREV_1024)
26    target_compile_definitions(CMSISDSP PUBLIC ARM_TABLE_TWIDDLECOEF_F32_4096)
27    target_compile_definitions(CMSISDSP PUBLIC ARM_TABLE_TWIDDLECOEF_Q31_4096)
28    target_compile_definitions(CMSISDSP PUBLIC ARM_TABLE_TWIDDLECOEF_Q15_4096)
29    if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
30    target_compile_definitions(CMSISDSP PUBLIC ARM_TABLE_TWIDDLECOEF_F16_4096)
31    endif()
32endif()