Warning, /pim/akonadi-search/akonadiplugin/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ECMMarkAsTest) 0002 0003 include_directories( 0004 ${CMAKE_CURRENT_SOURCE_DIR}/.. 0005 ${CMAKE_CURRENT_BINARY_DIR}/../../agent/ 0006 ${CMAKE_CURRENT_BINARY_DIR}/.. 0007 ) 0008 add_executable( searchplugintest) 0009 0010 target_sources(searchplugintest PRIVATE 0011 searchplugintest.cpp 0012 ../searchplugin.cpp 0013 ../../agent/emailindexer.cpp 0014 ../../agent/calendarindexer.cpp 0015 ../../agent/contactindexer.cpp 0016 ../../agent/abstractindexer.cpp 0017 ../../agent/akonotesindexer.cpp 0018 ../../search/pimsearchstore.cpp 0019 ../../search/email/emailsearchstore.cpp 0020 ../../search/email/agepostingsource.cpp 0021 ../../search/contact/contactsearchstore.cpp 0022 ../../search/calendar/calendarsearchstore.cpp 0023 ../../search/note/notesearchstore.cpp 0024 ${CMAKE_CURRENT_BINARY_DIR}/../../agent/akonadi_indexer_agent_debug.cpp 0025 ${CMAKE_CURRENT_BINARY_DIR}/../../agent/akonadi_indexer_agent_calendar_debug.cpp 0026 ${CMAKE_CURRENT_BINARY_DIR}/../../agent/akonadi_indexer_agent_email_debug.cpp 0027 ${CMAKE_CURRENT_BINARY_DIR}/../akonadiplugin_indexer_debug.cpp 0028 ) 0029 0030 add_definitions(-DAKONADI_SEARCH_NO_PLUGINS=TRUE) 0031 0032 add_test( NAME searchplugintest COMMAND searchplugintest ) 0033 ecm_mark_as_test(searchplugintest) 0034 0035 target_link_libraries(searchplugintest 0036 Qt::Test 0037 KPim6::AkonadiCore 0038 KPim6::AkonadiMime 0039 KPim6::Mime 0040 KF6::Contacts 0041 ${XAPIAN_LIBRARIES} 0042 KF6::CalendarCore 0043 KPim6::AkonadiSearchPIM 0044 KPim6::AkonadiSearchXapian 0045 KF6::Codecs 0046 KF6::TextUtils 0047 )