Warning, /pim/kmail/src/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: none 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}) 0004 add_definitions( -DTEST_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data" ) 0005 include_directories( 0006 BEFORE 0007 ${kmail_SOURCE_DIR} 0008 ${kmail_BINARY_DIR} 0009 ) 0010 0011 ########### dbus test ############### 0012 add_executable( displaymessageformatactionmenutest displaymessageformatactionmenutest.cpp displaymessageformatactionmenutest.h) 0013 add_test(NAME displaymessageformatactionmenutest COMMAND displaymessageformatactionmenutest ) 0014 ecm_mark_as_test(kmail-displaymessageformatactionmenutest) 0015 target_link_libraries( displaymessageformatactionmenutest Qt::Test KPim6::MessageViewer KF6::I18n kmailprivate) 0016 0017 ##### 0018 add_executable( identityaddvcarddialogtest identityaddvcarddialogtest.cpp identityaddvcarddialogtest.h) 0019 ecm_mark_as_test(kmail-identityaddvcarddialogtest) 0020 target_link_libraries( identityaddvcarddialogtest Qt::Test Qt::Widgets KF6::Completion KF6::KIOWidgets KF6::I18n kmailprivate) 0021 0022 ##### 0023 add_executable( createfollowupreminderonexistingmessagejobtest createfollowupreminderonexistingmessagejobtest.cpp createfollowupreminderonexistingmessagejobtest.h) 0024 ecm_mark_as_test(kmail_createfollowupreminderonexistingmessagejobtest) 0025 target_link_libraries( createfollowupreminderonexistingmessagejobtest Qt::Test Qt::Widgets KPim6::AkonadiCore KF6::CalendarCore KPim6::Mime KPim6::MessageComposer kmailprivate) 0026 ##### 0027 0028 add_executable( cryptostateindicatorwidgettest cryptostateindicatorwidgettest.cpp cryptostateindicatorwidgettest.h) 0029 add_test(NAME cryptostateindicatorwidgettest COMMAND cryptostateindicatorwidgettest) 0030 ecm_mark_as_test(cryptostateindicatorwidgettest) 0031 target_link_libraries( cryptostateindicatorwidgettest Qt::Test KPim6::MessageCore Qt::Widgets KF6::ConfigWidgets KF6::I18n kmailprivate) 0032 ##### 0033 0034 add_executable( encryptionstatetest encryptionstatetest.cpp encryptionstatetest.h) 0035 add_test(NAME encryptionstatetest COMMAND encryptionstatetest) 0036 ecm_mark_as_test(encryptionstatetest) 0037 target_link_libraries( encryptionstatetest Qt::Test kmailprivate) 0038 0039 add_executable( kactionmenutransporttest kactionmenutransporttest.cpp kactionmenutransporttest.h) 0040 add_test(NAME kactionmenutransporttest COMMAND kactionmenutransporttest) 0041 ecm_mark_as_test(kactionmenutransporttest) 0042 target_link_libraries( kactionmenutransporttest Qt::Test KPim6::AkonadiMime KF6::WidgetsAddons KF6::I18n KF6::ConfigGui kmailprivate) 0043 0044 add_akonadi_isolated_test_advanced( kmcomposerwintest.cpp "kmcomposerwintest.h" 0045 "Qt::Test;KPim6::IdentityManagementWidgets;KPim6::Libkleo;KPim6::MessageCore;KPim6::MessageComposer;KPim6::TemplateParser;KF6::XmlGui;Qt::Widgets;KF6::ConfigWidgets;KF6::I18n;kmailprivate;KF6::Codecs") 0046 0047 add_akonadi_isolated_test_advanced( tagselectdialogtest.cpp "tagselectdialogtest.h" "kmailprivate;KPim6::MailCommon;KPim6::Libkdepim;KF6::ItemViews;KPim6::TemplateParser;KF6::XmlGui;KF6::Completion;KF6::I18n") 0048 0049 add_akonadi_isolated_test_advanced(kmcommandstest.cpp "kmcommandstest.h" 0050 "Qt::Test;Qt::Widgets;KPim6::AkonadiCore;KF6::XmlGui;KF6::Bookmarks;KF6::ConfigWidgets;KF6::Contacts;KF6::I18n;KPim6::IdentityManagementCore;KF6::KIOCore;KF6::KIOFileWidgets;KPim6::MessageCore;KPim6::MessageComposer;KPim6::MessageList;KPim6::MessageViewer;KPim6::MailCommon;KPim6::AkonadiMime;KPim6::Libkdepim;KPim6::TemplateParser;kmailprivate") 0051 0052 0053 add_executable( commandlineinfotest commandlineinfotest.cpp commandlineinfotest.h) 0054 add_test(NAME commandlineinfotest COMMAND commandlineinfotest) 0055 ecm_mark_as_test(commandlineinfotest) 0056 target_link_libraries( commandlineinfotest Qt::Test KPim6::AkonadiMime KF6::WidgetsAddons KF6::I18n KF6::ConfigGui kmailprivate)