1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
5project(cmsis_dsp_basicmath)
6
7target_sources(app PRIVATE
8  src/q7.c
9  src/q15.c
10  src/q31.c
11  src/f32.c
12  )
13
14target_sources_ifdef(CONFIG_FP16 app PRIVATE src/f16.c)
15
16target_include_directories(app PRIVATE ${ZEPHYR_BASE}/tests/lib/cmsis_dsp)
17
18if(COMPILER STREQUAL arcmwdt)
19  get_property(Z_ARC_DSP_OPTIONS GLOBAL PROPERTY z_arc_dsp_options)
20  target_compile_options(app PRIVATE ${Z_ARC_DSP_OPTIONS})
21endif()
22