blob: e516758f4d53308954c1e3fad186e3afea3af8e5 [file] [log] [blame]
cmake_minimum_required (VERSION 3.14)
project (arm_signal_convergence_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_signal_convergence_example)
include(config)
configApp(arm_signal_convergence_example ${ROOT})
target_sources(arm_signal_convergence_example PRIVATE math_helper.c arm_signal_converge_data.c arm_signal_converge_example_f32.c)
### Sources and libs
target_link_libraries(arm_signal_convergence_example PRIVATE CMSISDSP)