Warning, /pim/kdepim-runtime/resources/kolab/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #if the kimap project wasn't built with tests then we can't build anything in here
0002 if(NOT TARGET KPim6::kimaptest6)
0003   message(STATUS "Warning: Unable to build the imap autotests since the kimap project did not build the kimaptest library. You need to rebuild kimap with the -DBUILD_TESTING=on option")
0004   return()
0005 endif()
0006 if (KDEPIM_RUN_AKONADI_TEST)
0007 set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
0008 set(KDEPIMLIBS_RUN_ISOLATED_TESTS TRUE)
0009 set(KDEPIMLIBS_RUN_SQLITE_ISOLATED_TESTS TRUE)
0010 
0011 MACRO(KOLAB_RESOURCE_ISOLATED_TESTS)
0012   FOREACH(_testname ${ARGN})
0013     include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/.. ../../imap/autotests/)
0014     add_akonadi_isolated_test_advanced(${_testname}.cpp "../../imap/autotests/dummypasswordrequester.cpp;../../imap/autotests/dummyresourcestate.cpp;../../imap/autotests/imaptestbase.cpp" "KPim6::IMAP;KPim6::kimaptest6;Qt::Test;imapresource;kolabresource;akonaditest;${Libkolab_LIBRARIES}")
0015     kde_enable_exceptions()
0016   ENDFOREACH(_testname)
0017 ENDMACRO(KOLAB_RESOURCE_ISOLATED_TESTS)
0018 
0019 KOLAB_RESOURCE_ISOLATED_TESTS (
0020   testretrievetagstask
0021   testchangeitemstagstask
0022 )
0023 endif()