|
|
@ -51,6 +51,7 @@ include(dep/zlinuxcomponents/alsaplayer/module.cmake) |
|
|
|
include(dep/zlinuxcomponents/rootfs_auto_update/module.cmake) |
|
|
|
include(dep/zlinuxcomponents/mycroft_precise/module.cmake) |
|
|
|
include(dep/zlinuxcomponents/audio/module.cmake) |
|
|
|
include(dep/zlinuxcomponents/aiui_ws/module.cmake) |
|
|
|
|
|
|
|
# 设置当前工程依赖的头文件路径和链接的库文件 |
|
|
|
set(DEP_LINK_LIBRARIES |
|
|
@ -68,10 +69,11 @@ set(DEP_LINK_LIBRARIES |
|
|
|
asound |
|
|
|
pthread |
|
|
|
# |
|
|
|
curlpp |
|
|
|
curl) |
|
|
|
set(PUBLIC_INCLUDE_DIRECTORIES ${PUBLIC_INCLUDE_DIRECTORIES} ./libs/curlpp/include) |
|
|
|
set(PUBLIC_LINK_DIRECTORIES ${PUBLIC_LINK_DIRECTORIES} ./libs/curlpp/lib) |
|
|
|
# curlpp curl |
|
|
|
) |
|
|
|
# set(PUBLIC_INCLUDE_DIRECTORIES ${PUBLIC_INCLUDE_DIRECTORIES} |
|
|
|
# ./libs/curlpp/include) set(PUBLIC_LINK_DIRECTORIES ${PUBLIC_LINK_DIRECTORIES} |
|
|
|
# ./libs/curlpp/lib) |
|
|
|
|
|
|
|
# 添加编译的目标文件 |
|
|
|
zadd_executable_simple( |
|
|
@ -88,10 +90,11 @@ zadd_executable_simple( |
|
|
|
src/service/voiceprocess/beforeasr_voiceprocesser.cpp |
|
|
|
src/service/voiceprocess/beforewakeup_voiceprocesser.cpp |
|
|
|
src/service/voiceprocess/voiceprocess_service.cpp |
|
|
|
src/service/voiceprocess/wakeup_processer.cpp) |
|
|
|
src/service/voiceprocess/wakeup_processer.cpp |
|
|
|
#aiui |
|
|
|
) |
|
|
|
|
|
|
|
zadd_executable_simple(TARGET alsaplayer_main.out SRC |
|
|
|
dep/zlinuxcomponents/alsaplayer/alsaplayer_main.cpp) |
|
|
|
zadd_executable_simple(TARGET audio_recorder_main.out SRC |
|
|
|
dep/zlinuxcomponents/audio/audio_recorder_main.cpp) |
|
|
|
zadd_executable_simple(TARGET curlpptest_main.out SRC src/curlpptest_main.cpp) |