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.

34 lines
1.2 KiB

  1. #add_executable(decoder_main decoder_main.cc)
  2. #target_link_libraries(decoder_main PUBLIC decoder ${GFLAGS_LIBRARY})
  3. #if(IPEX)
  4. # target_link_libraries(decoder_main PUBLIC "${TORCH_IPEX_LIBRARIES}")
  5. #endif()
  6. #add_executable(label_checker_main label_checker_main.cc)
  7. #target_link_libraries(label_checker_main PUBLIC decoder ${GFLAGS_LIBRARY})
  8. if(TORCH)
  9. add_executable(api_main api_main.cc)
  10. target_link_libraries(api_main PUBLIC wenet_api)
  11. endif()
  12. if(WEBSOCKET)
  13. add_executable(websocket_client_main websocket_client_main.cc)
  14. target_link_libraries(websocket_client_main PUBLIC websocket)
  15. add_executable(websocket_server_main websocket_server_main.cc)
  16. target_link_libraries(websocket_server_main PUBLIC websocket)
  17. endif()
  18. if(GRPC)
  19. add_executable(grpc_server_main grpc_server_main.cc)
  20. target_link_libraries(grpc_server_main PUBLIC wenet_grpc)
  21. add_executable(grpc_client_main grpc_client_main.cc)
  22. target_link_libraries(grpc_client_main PUBLIC wenet_grpc)
  23. endif()
  24. if(HTTP)
  25. add_executable(http_client_main http_client_main.cc)
  26. target_link_libraries(http_client_main PUBLIC http)
  27. add_executable(http_server_main http_server_main.cc)
  28. target_link_libraries(http_server_main PUBLIC http)
  29. endif()