Warning, /pim/pim-data-exporter/core/autotests/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( -DPIMDATAINSTALL_DIR="${CMAKE_CURRENT_BINARY_DIR}/install" ) 0004 0005 #### 0006 add_executable( utilstest utilstest.cpp utilstest.h) 0007 add_test(NAME utilstest COMMAND utilstest) 0008 ecm_mark_as_test(utilstest) 0009 target_link_libraries( utilstest Qt::Test pimdataexporterprivate KF6::ConfigCore) 0010 0011 ##### 0012 add_library(test_resourceconverter STATIC 0013 resourceconvertertest.cpp 0014 generatelistfilefromarchive.cpp 0015 loadlistfromfile.cpp 0016 compareexportfile.cpp 0017 compareimportfile.cpp 0018 testexportfile.cpp 0019 testimportfile.cpp 0020 logcreatingressource.cpp 0021 comparefilehelper.cpp 0022 exportimportutil.cpp 0023 saveresourceconfigtest.cpp 0024 compareloggingfile.cpp 0025 testbackupresourcefilejob.cpp 0026 importexportprogressindicatortest.cpp 0027 resourceconvertertest.h 0028 generatelistfilefromarchive.h 0029 loadlistfromfile.h 0030 compareexportfile.h 0031 compareimportfile.h 0032 testexportfile.h 0033 testimportfile.h 0034 logcreatingressource.h 0035 comparefilehelper.h 0036 exportimportutil.h 0037 saveresourceconfigtest.h 0038 compareloggingfile.h 0039 testbackupresourcefilejob.h 0040 importexportprogressindicatortest.h 0041 ) 0042 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0043 set_target_properties(test_resourceconverter PROPERTIES UNITY_BUILD ON) 0044 endif() 0045 target_link_libraries(test_resourceconverter PUBLIC KF6::ConfigCore pimdataexporterprivate KF6::Archive Qt::Test KPim6::AkonadiMime KPim6::AkonadiCore KF6::WidgetsAddons) 0046 0047 0048 ##### 0049 add_executable( resourceconverterclasstest resourceconverterclasstest.cpp resourceconverterclasstest.h) 0050 add_test(NAME resourceconverterclasstest COMMAND resourceconverterclasstest) 0051 ecm_mark_as_test(resourceconverterclasstest) 0052 target_link_libraries( resourceconverterclasstest Qt::Test KF6::ConfigCore test_resourceconverter) 0053 0054 ##### 0055 add_executable( backupresourcefilejobimpltest backupresourcefilejobimpltest.cpp backupresourcefilejobimpltest.h) 0056 add_test(NAME backupresourcefilejobimpltest COMMAND backupresourcefilejobimpltest) 0057 ecm_mark_as_test(backupresourcefilejobimpltest) 0058 target_link_libraries( backupresourcefilejobimpltest Qt::Test KF6::ConfigCore pimdataexporterprivate KF6::Archive) 0059 ### 0060 0061 add_subdirectory(notes) 0062 add_subdirectory(calendar) 0063 add_subdirectory(addressbook) 0064 add_subdirectory(alarm) 0065 add_subdirectory(akregator) 0066 add_subdirectory(mail)