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

0001 
0002 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0003 add_definitions(-DTEST_DATA_PATH="${CMAKE_CURRENT_SOURCE_DIR}")
0004 
0005 
0006 macro(addTest TEST_NAME)
0007     add_executable(${TEST_NAME} ${TEST_NAME}.cpp ${TEST_NAME}.h)
0008     target_link_libraries(${TEST_NAME} Qt::Test kolab_static)
0009     add_test(${TEST_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${TEST_NAME})
0010 endmacro()
0011 
0012 add_executable(benchmarktest benchmark.cpp benchmark.h)
0013 target_link_libraries(benchmarktest ${QT_QTTEST_LIBRARY} kolab_static)
0014 
0015 addTest(formattest)
0016 addTest(upgradetest)
0017 addTest(kcalconversiontest)
0018 addTest(calendaringtest)
0019 addTest(icalendartest)
0020 addTest(freebusytest)
0021 addTest(kolabobjecttest)
0022 addTest(timezonetest)
0023 addTest(mimeobjecttest)
0024 addTest(xmlobjecttest)
0025 addTest(debugstreamtest)
0026 addTest(legacyformattest)
0027