summaryrefslogtreecommitdiffstats
path: root/Drivers/CMSIS/DSP/Examples/ARM/arm_svm_example/CMakeLists.txt
blob: 2fa5d18c57eb00c2c2e930c94d7f27f2ac22a8fe (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
cmake_minimum_required (VERSION 3.14)
project (arm_svm_example VERSION 0.1)


# Needed to include the configBoot module
# Define the path to CMSIS-DSP (ROOT is defined on command line when using cmake)
set(ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../../../..)
set(DSP ${ROOT}/CMSIS/DSP)

# Add DSP folder to module path
list(APPEND CMAKE_MODULE_PATH ${DSP})

################################### 
#
# LIBRARIES
#
###################################

########### 
#
# CMSIS DSP
#

add_subdirectory(../../../Source bin_dsp)


################################### 
#
# TEST APPLICATION
#
###################################


add_executable(arm_svm_example)


include(config)
configApp(arm_svm_example ${ROOT})

target_sources(arm_svm_example PRIVATE arm_svm_example_f32.c)

### Sources and libs

target_link_libraries(arm_svm_example PRIVATE CMSISDSP)