代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.0.0)
project(voice-assistant VERSION 0.1.0 LANGUAGES C)
add_executable(voice-assistant main.c)
add_executable(control control.c)
target_link_libraries(control asound)
#add_executable(record record.c)
#target_link_libraries(record asound)
#add_executable(play play.c)
#target_link_libraries(play asound)
add_executable(key key.c record.c)
target_link_libraries(key gpiod asound)
add_subdirectory(snowboy)
add_executable(wake wake.c record.c stt.c token.c http.c config.c)
target_link_libraries(wake snowboy-wrapper snowboy-detect cblas m stdc++ asound curl cjson)
target_compile_definitions(wake PRIVATE _GNU_SOURCE)
add_executable(jrsc jrsc.c)
target_link_libraries(jrsc curl cjson)
add_executable(led led.c)
add_executable(chat chat.c config.c http.c record.c token.c stt.c)
target_link_libraries(chat snowboy-wrapper snowboy-detect cblas m stdc++ asound cjson curl resolv uuid )
target_compile_definitions(chat PRIVATE _GNU_SOURCE)
#add_executable(utils utils.c)
#target_link_libraries(utils uuid resolv)
add_executable(final final.c token.c tts.c stt.c config.c http.c play.c record.c)
target_link_libraries(final snowboy-wrapper snowboy-detect cjson cblas curl stdc++ uuid resolv asound m)
target_compile_definitions(final PRIVATE _GNU_SOURCE)
#add_executable(tts tts.c config.c http.c play.c)
#target_link_libraries(tts cjson curl uuid resolv asound)
#target_compile_definitions(tts PRIVATE _GNU_SOURCE)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。