summaryrefslogtreecommitdiff
path: root/Drivers/CMSIS/DSP/Examples/ARM/arm_variance_example/CMakeLists.txt
blob: 60f234125e4dff5e48b802f99c7e77e461fea4f8 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
cmake_minimum_required (VERSION 3.6)
project (arm_variance_example VERSION 0.1)

# Needed to include the configBoot module
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../..)

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

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

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


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


add_executable(arm_variance_example)

set(ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../../../..)

include(configBoot)

target_sources(arm_variance_example PRIVATE arm_variance_example_f32.c)

### Sources and libs

target_link_libraries(arm_variance_example PRIVATE CMSISDSP)

################################### 
#
# INSTALLATION
#
###################################

install (TARGETS arm_variance_example DESTINATION "${PROJECT_SOURCE_DIR}/varianceExampleBuild.axf")