Files
QtPotato/autotests/CMakeLists.txt
T

42 lines
1.1 KiB
CMake

ecm_add_test(subtitleparsertest.cpp
TEST_NAME subtitleparsertest
LINK_LIBRARIES qtpotato_core Qt6::Test
)
ecm_add_test(mpvuserconfigtest.cpp
TEST_NAME mpvuserconfigtest
LINK_LIBRARIES qtpotato_core Qt6::Test
)
ecm_add_test(glossarystoretest.cpp ../src/translate/glossarystore.cpp
TEST_NAME glossarystoretest
LINK_LIBRARIES Qt6::Core Qt6::Test
)
target_include_directories(glossarystoretest PRIVATE ../src/translate)
ecm_add_test(playlistmodeltest.cpp ../src/playlist/playlistmodel.cpp
TEST_NAME playlistmodeltest
LINK_LIBRARIES qtpotato_core Qt6::Qml Qt6::Concurrent Qt6::Test
)
target_include_directories(playlistmodeltest PRIVATE ../src/playlist)
ecm_add_test(trackselectiontest.cpp
TEST_NAME trackselectiontest
LINK_LIBRARIES qtpotato_core Qt6::Test
)
ecm_add_test(translationstoretest.cpp
TEST_NAME translationstoretest
LINK_LIBRARIES qtpotato_core Qt6::Test
)
ecm_add_test(mediainfotest.cpp
TEST_NAME mediainfotest
LINK_LIBRARIES qtpotato_core Qt6::Test
)
ecm_add_test(subtitleextractortest.cpp
TEST_NAME subtitleextractortest
LINK_LIBRARIES qtpotato_core Qt6::Test
)