forked from espressif/esp-sr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (38 loc) · 1.22 KB
/
CMakeLists.txt
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
set(COMPONENT_SRCS
speech_command_recognition/mn_process_commands.c
)
set(COMPONENT_ADD_INCLUDEDIRS
lib/include
wake_word_engine/include
speech_command_recognition/include
acoustic_algorithm/include
)
register_component()
target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib")
target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/wake_word_engine")
target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/speech_command_recognition")
target_link_libraries(${COMPONENT_TARGET} "-L ${CMAKE_CURRENT_SOURCE_DIR}/acoustic_algorithm")
IF (IDF_VER MATCHES "v4.")
add_prebuilt_library(multinet "${CMAKE_CURRENT_SOURCE_DIR}/lib/libmultinet.a" PRIV_REQUIRES esp-sr)
ENDIF (IDF_VER MATCHES "v4.")
target_link_libraries(${COMPONENT_TARGET} "-Wl,--start-group"
dl_lib
c_speech_features
wakenet
hilexin_wn3
hilexin_wn4
hilexin_wn5
hilexin_wn5X2
hilexin_wn5X3
hijeson_wn5X3
nihaoxiaozhi_wn5
nihaoxiaozhi_wn5X2
nihaoxiaozhi_wn5X3
nihaoxiaoxin_wn6
nihaoxiaoxin_wn5X3
customized_word_wn5
customized_word_wn6
multinet
multinet1_ch
multinet1_en
esp_audio_processor "-Wl,--end-group")