Warning, /pim/libkleo/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: CC0-1.0
0002 # SPDX-FileCopyrightText: none
0003 include(ECMMarkAsTest)
0004 
0005 # Convenience macro to add kleo unit tests.
0006 macro( add_kleo_test _source )
0007   set( _test ${_source} )
0008   get_filename_component( _name ${_source} NAME_WE )
0009   add_executable( ${_name} ${_test} )
0010   ecm_mark_as_test(kleo-${_name})
0011   target_link_libraries(${_name} KPim6::Libkleo Qt::Widgets KF6::CoreAddons
0012       KF6::I18n KF6::WidgetsAddons)
0013 endmacro()
0014 
0015 
0016 add_kleo_test(test_jobs.cpp)
0017 add_kleo_test(test_cryptoconfig.cpp)
0018 add_kleo_test(test_keyselectiondialog.cpp)
0019 add_kleo_test(test_keygen.cpp test_keygen.h)
0020 add_kleo_test(test_keylister.cpp test_keylister.h)
0021 add_kleo_test(test_auditlog.cpp)
0022 add_kleo_test(test_keyformailbox.cpp)
0023 add_kleo_test(test_keyselectioncombo.cpp)
0024 add_kleo_test(test_keyresolver.cpp)