summaryrefslogtreecommitdiff
path: root/Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt
blob: 130b4a0e64f489971bf9c2d5b8e3b2c8638239ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cmake_minimum_required (VERSION 3.6)

project(CMSISDSPCommon)



add_library(CMSISDSPCommon STATIC arm_common_tables.c)

if (CONFIGTABLE AND ALLFFT)
    target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FFT_TABLES) 
endif()

if (CONFIGTABLE AND ALLFAST)
    target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FAST_TABLES) 
endif()

include(fft)
fft(CMSISDSPCommon)

include(interpol)
interpol(CMSISDSPCommon)

target_sources(CMSISDSPCommon PRIVATE arm_const_structs.c)

configdsp(CMSISDSPCommon ..)

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