forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
72 lines (54 loc) · 1.34 KB
/
CMakeLists.txt
File metadata and controls
72 lines (54 loc) · 1.34 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# SPDX-License-Identifier: BSD-3-Clause
if(BUILD_LIBRARY)
add_local_sources(sof numbers.c)
return()
endif()
add_local_sources(sof numbers.c)
if(CONFIG_CORDIC_FIXED)
add_local_sources(sof trig.c)
endif()
if(CONFIG_SQRT_FIXED)
add_local_sources(sof sqrt_int16.c)
endif()
if(CONFIG_MATH_EXP)
add_local_sources(sof exp_fcn.c exp_fcn_hifi.c)
endif()
if(CONFIG_MATH_DECIBELS)
add_local_sources(sof decibels.c)
endif()
if(CONFIG_NATURAL_LOGARITHM_FIXED)
add_local_sources(sof log_e.c)
endif()
if(CONFIG_COMMON_LOGARITHM_FIXED)
add_local_sources(sof log_10.c)
endif()
if(CONFIG_POWER_FIXED)
add_local_sources(sof power.c)
endif()
if(CONFIG_BINARY_LOGARITHM_FIXED)
add_local_sources(sof base2log.c)
endif()
if(CONFIG_MATH_FIR)
add_local_sources(sof fir_generic.c fir_hifi2ep.c fir_hifi3.c)
endif()
if(CONFIG_MATH_FFT)
add_subdirectory(fft)
endif()
if(CONFIG_MATH_IIR_DF2T)
add_local_sources(sof iir_df2t_generic.c iir_df2t_hifi3.c iir_df2t.c)
endif()
if(CONFIG_MATH_IIR_DF1)
add_local_sources(sof iir_df1_generic.c iir_df1_hifi3.c iir_df1.c)
endif()
if(CONFIG_MATH_WINDOW)
add_local_sources(sof window.c)
endif()
if(CONFIG_MATH_MATRIX)
add_local_sources(sof matrix.c)
endif()
if(CONFIG_MATH_AUDITORY)
add_subdirectory(auditory)
endif()
if(CONFIG_MATH_DCT)
add_local_sources(sof dct.c)
endif()