Warning, /pim/pim-data-exporter/core/autotests/mail/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2011-2024 Laurent Montel <montel@kde.org> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 add_definitions( -DPIMDATAEXPORTER_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data" ) 0004 0005 0006 0007 add_executable( exportmailjobinterfacetest) 0008 target_sources( exportmailjobinterfacetest PRIVATE exportmailjobinterfacetest.cpp exportmailjobinterfacetestimpl.cpp 0009 exportmailjobinterfacetest.h exportmailjobinterfacetestimpl.h 0010 exportmailfolderattributejobtestimpl.h exportmailfolderattributejobtestimpl.cpp) 0011 0012 add_test(NAME exportmailjobinterfacetest COMMAND exportmailjobinterfacetest) 0013 ecm_mark_as_test(exportmailjobinterfacetest) 0014 target_link_libraries(exportmailjobinterfacetest Qt::Test pimdataexporterprivate KF6::ConfigCore test_resourceconverter KPim6::Mime) 0015 0016 ##### 0017 0018 0019 add_executable( importmailjobinterfacetest ) 0020 target_sources( importmailjobinterfacetest PRIVATE importmailjobinterfacetest.cpp 0021 importmailjobinterfacetestimpl.cpp 0022 importmailjobinterfacetest.h importmailjobinterfacetestimpl.h 0023 importmailfolderattributejobtestimpl.h importmailfolderattributejobtestimpl.cpp) 0024 0025 add_test(NAME importmailjobinterfacetest COMMAND importmailjobinterfacetest) 0026 ecm_mark_as_test(importmailjobinterfacetest) 0027 target_link_libraries(importmailjobinterfacetest Qt::Test pimdataexporterprivate KF6::ConfigCore KPim6::AkonadiCore KPim6::AkonadiMime test_resourceconverter KPim6::IdentityManagementCore KPim6::Mime) 0028 0029 ##### 0030 add_executable( exportmailfolderattributejobtest) 0031 target_sources( exportmailfolderattributejobtest PRIVATE exportmailfolderattributejobtest.cpp exportmailfolderattributejobtest.h) 0032 add_test(NAME exportmailfolderattributejobtest COMMAND exportmailfolderattributejobtest) 0033 ecm_mark_as_test(exportmailfolderattributejobtest) 0034 target_link_libraries(exportmailfolderattributejobtest Qt::Test pimdataexporterprivate KF6::ConfigCore) 0035 0036 ##### 0037 add_executable( importmailfolderattributejobtest) 0038 target_sources( importmailfolderattributejobtest PRIVATE importmailfolderattributejobtest.cpp importmailfolderattributejobtest.h) 0039 add_test(NAME importmailfolderattributejobtest COMMAND importmailfolderattributejobtest) 0040 ecm_mark_as_test(importmailfolderattributejobtest) 0041 target_link_libraries(importmailfolderattributejobtest Qt::Test pimdataexporterprivate KPim6::AkonadiCore KF6::ConfigCore) 0042