You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
2.0 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. message("PUBLIC_SRC: ${PUBLIC_SRC}")
  2. message("PUBLIC_LINK_DIRECTORIES: ${PUBLIC_LINK_DIRECTORIES}")
  3. message("PUBLIC_INCLUDE_DIRECTORIES: ${PUBLIC_INCLUDE_DIRECTORIES}")
  4. message("PUBLIC_LINK_LIBS: ${PUBLIC_LINK_LIBS}")
  5. # 添加编译的目标文件
  6. zadd_executable_simple(
  7. TARGET
  8. app.out
  9. SRC
  10. src/main.cpp
  11. src/service/device_io_service.cpp
  12. src/service/device_io_service_mock.cpp
  13. src/service/main_control_service.cpp
  14. src/service/light_control_service.cpp
  15. src/service/report_service.cpp
  16. src/service/voiceprocess/beforeasr_voiceprocesser.cpp
  17. src/service/voiceprocess/beforewakeup_voiceprocesser.cpp
  18. src/service/voiceprocess/wakeup_processer.cpp
  19. src/service/voiceprocess/audio_recoder_service.cpp
  20. src/service/voiceprocess/audio_logging_service.cpp
  21. src/service/voiceprocess/common_voiceprocesser.cpp
  22. src/iflytopvoicecpp/soundbox4mic_voice_pre_process.cpp
  23. # aiui
  24. )
  25. zadd_executable_simple(TARGET alsaplayer_main.out SRC
  26. dep/zlinuxcomponents/alsaplayer/test_alsaplayer_main.cpp)
  27. zadd_executable_simple(TARGET audio_recorder_main.out SRC
  28. dep/zlinuxcomponents/audio/audio_recorder_main.cpp)
  29. zadd_executable_simple(TARGET test_aiui_service.out SRC
  30. dep/zlinuxcomponents/aiui_ws/test_aiui_service.cpp)
  31. # 播放器单元测试
  32. zadd_executable_simple(
  33. TARGET test_smart_soundbox_player.out SRC
  34. dep/zlinuxcomponents/alsaplayer/test_smart_soundbox_player.cpp)
  35. # 算法单元测试
  36. zadd_executable_simple(TARGET test_iflytop_voice.out SRC
  37. src/test/test_iflytop_voice.cpp)
  38. # GPS单元测试
  39. zadd_executable_simple(
  40. TARGET test_H8922S_gps_info_reader.out SRC
  41. src/test/test_H8922S_gps_info_reader.cpp
  42. src/service/H8922S_gps_Info_reader.cpp)
  43. # 算法测试
  44. zadd_executable_simple(
  45. TARGET test_soundbox4mic_voice_processer.out SRC
  46. src/iflytopvoicecpp/soundbox4mic_voice_pre_process.cpp
  47. src/test/test_soundbox4mic_voice_processer.cpp)
  48. # zadd_executable_simple(TARGET audio_recorder_main.out SRC
  49. # dep/zlinuxcomponents/audio/audio_recorder_main.cpp)