Warning, /libraries/ktextaddons/textspeechtotext/speechtotext/plugins/vosk/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: BSD-3-Clause
0002 # SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org>
0003 add_definitions( -DVOSK_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data")
0004 
0005 macro(add_voskspeechtotext_unittest _source)
0006     get_filename_component(_name ${_source} NAME_WE)
0007     ecm_add_test(${_source} ${_name}.h
0008         TEST_NAME ${_name}
0009         NAME_PREFIX "speechtotext-"
0010         LINK_LIBRARIES Qt::Test
0011         Qt::Widgets
0012         voskspeechtotext
0013     )
0014 endmacro()
0015 
0016 add_voskspeechtotext_unittest(voskspeechtotextinfotest.cpp)
0017 add_voskspeechtotext_unittest(voskdownloadlanguagejobtest.cpp)
0018 add_voskspeechtotext_unittest(voskextractlanguagejobtest.cpp)
0019 add_voskspeechtotext_unittest(voskenginelanguagewidgettest.cpp)
0020 add_voskspeechtotext_unittest(voskenginedialogtest.cpp)
0021 add_voskspeechtotext_unittest(managermodelvoskspeechtotexttest.cpp)
0022 add_voskspeechtotext_unittest(generateinstalledlanguageinfojobtest.cpp)
0023 add_voskspeechtotext_unittest(voskengineutilstest.cpp)