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_matrix)
6
7target_sources(app PRIVATE src/main.c)
8
9target_sources_ifdef(
10  CONFIG_CMSIS_DSP_TEST_MATRIX_UNARY_Q7
11  app PRIVATE src/unary_q7.c
12  )
13
14target_sources_ifdef(
15  CONFIG_CMSIS_DSP_TEST_MATRIX_UNARY_Q15
16  app PRIVATE src/unary_q15.c
17  )
18
19target_sources_ifdef(
20  CONFIG_CMSIS_DSP_TEST_MATRIX_UNARY_Q31
21  app PRIVATE src/unary_q31.c
22  )
23
24target_sources_ifdef(
25  CONFIG_CMSIS_DSP_TEST_MATRIX_UNARY_F16
26  app PRIVATE src/unary_f16.c
27  )
28
29target_sources_ifdef(
30  CONFIG_CMSIS_DSP_TEST_MATRIX_UNARY_F32
31  app PRIVATE src/unary_f32.c
32  )
33
34target_sources_ifdef(
35  CONFIG_CMSIS_DSP_TEST_MATRIX_UNARY_F64
36  app PRIVATE src/unary_f64.c
37  )
38
39target_sources_ifdef(
40  CONFIG_CMSIS_DSP_TEST_MATRIX_BINARY_Q7
41  app PRIVATE src/binary_q7.c
42  )
43
44target_sources_ifdef(
45  CONFIG_CMSIS_DSP_TEST_MATRIX_BINARY_Q15
46  app PRIVATE src/binary_q15.c
47  )
48
49target_sources_ifdef(
50  CONFIG_CMSIS_DSP_TEST_MATRIX_BINARY_Q31
51  app PRIVATE src/binary_q31.c
52  )
53
54target_sources_ifdef(
55  CONFIG_CMSIS_DSP_TEST_MATRIX_BINARY_F16
56  app PRIVATE src/binary_f16.c
57  )
58
59target_sources_ifdef(
60  CONFIG_CMSIS_DSP_TEST_MATRIX_BINARY_F32
61  app PRIVATE src/binary_f32.c
62  )
63
64target_sources_ifdef(
65  CONFIG_CMSIS_DSP_TEST_MATRIX_BINARY_F64
66  app PRIVATE src/binary_f64.c
67  )
68