Warning, /network/ruqola/src/plugins/authentication/google/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 ecm_qt_declare_logging_category(ruqola_googleauthenticationplugin_test_SRCS HEADER googleauthenticationplugin_debug.h 0004 IDENTIFIER RUQOLA_GOOGLEAUTHENTICATION_PLUGIN_LOG CATEGORY_NAME org.kde.ruqola_googleauthenticationplugin) 0005 0006 macro(add_ruqola_plugin_unittest _source _additional) 0007 set( _test ${ruqola_googleauthenticationplugin_test_SRCS} ${_source} ${_additional}) 0008 get_filename_component(_name ${_source} NAME_WE) 0009 add_executable( ${_name} ${_test} ) 0010 add_test(NAME ${_name} COMMAND ${_name} ) 0011 0012 ecm_mark_as_test(${_name}) 0013 target_link_libraries( ${_name} Qt5::Test KF${KF_MAJOR_VERSION}::I18n libruqolacore ${o2_LIBRARIES}) 0014 endmacro () 0015 0016 add_ruqola_plugin_unittest(googlepluginauthenticationtest.cpp "../googlepluginauthentication.cpp;../googleauthenticationinterface.cpp;../googlejob.cpp") 0017 add_ruqola_plugin_unittest(googleauthenticationinterfacetest.cpp "../googleauthenticationinterface.cpp;../googlejob.cpp")