| | |
| | | target_link_libraries(funasr-onnx-online-punc PUBLIC funasr) |
| | | |
| | | add_executable(funasr-onnx-offline-rtf "funasr-onnx-offline-rtf.cpp" ${RELATION_SOURCE}) |
| | | target_link_options(funasr-onnx-offline PRIVATE "-Wl,--no-as-needed") |
| | | target_link_libraries(funasr-onnx-offline-rtf PUBLIC funasr) |
| | | |
| | | add_executable(funasr-onnx-2pass "funasr-onnx-2pass.cpp" ${RELATION_SOURCE}) |
| | |
| | | |
| | | file(GLOB files1 "*.cpp") |
| | | list(REMOVE_ITEM files1 "${CMAKE_CURRENT_SOURCE_DIR}/paraformer-torch.cpp") |
| | | set(files ${files1}) |
| | | |
| | | if(GPU) |
| | | set(files ${files} "${CMAKE_CURRENT_SOURCE_DIR}/paraformer-torch.cpp") |
| | | endif() |
| | | |
| | | message("files: "${files}) |
| | | |
| | | if(WIN32) |