This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex-mr_series-sherpa-onnx/sherpa-onnx/csrc/CMakeLists.txt

30 lines
706 B
CMake
Raw Normal View History

2022-10-12 11:27:05 +08:00
include_directories(${CMAKE_SOURCE_DIR})
2023-02-19 19:36:03 +08:00
add_library(sherpa-onnx-core
2023-02-18 21:35:15 +08:00
features.cc
online-lstm-transducer-model.cc
2023-02-19 12:45:38 +08:00
online-recognizer.cc
2023-02-19 11:42:15 +08:00
online-stream.cc
2023-02-19 10:39:07 +08:00
online-transducer-greedy-search-decoder.cc
2023-02-18 21:35:15 +08:00
online-transducer-model-config.cc
online-transducer-model.cc
onnx-utils.cc
symbol-table.cc
wave-reader.cc
)
2022-09-23 08:46:25 +03:00
2023-02-19 19:36:03 +08:00
target_link_libraries(sherpa-onnx-core
2022-10-12 11:27:05 +08:00
onnxruntime
kaldi-native-fbank-core
2022-09-23 08:46:25 +03:00
)
2023-02-19 19:36:03 +08:00
add_executable(sherpa-onnx sherpa-onnx.cc)
target_link_libraries(sherpa-onnx sherpa-onnx-core)
if(NOT WIN32)
target_link_libraries(sherpa-onnx "-Wl,-rpath,${SHERPA_ONNX_RPATH_ORIGIN}/../lib")
endif()
install(TARGETS sherpa-onnx-core DESTINATION lib)
install(TARGETS sherpa-onnx DESTINATION bin)