File: CMakeLists.txt

package info (click to toggle)
kdepim-runtime 4%3A24.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 24,012 kB
  • sloc: cpp: 90,562; xml: 1,020; javascript: 60; sh: 58; makefile: 13
file content (27 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-DTEST_DATA_PATH="${CMAKE_CURRENT_SOURCE_DIR}")


macro(addTest TEST_NAME)
    add_executable(${TEST_NAME} ${TEST_NAME}.cpp ${TEST_NAME}.h)
    target_link_libraries(${TEST_NAME} Qt::Test kolab_static)
    add_test(${TEST_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${TEST_NAME})
endmacro()

add_executable(benchmarktest benchmark.cpp benchmark.h)
target_link_libraries(benchmarktest ${QT_QTTEST_LIBRARY} kolab_static)

# addTest(formattest) failing
# addTest(upgradetest) failing
# addTest(kcalconversiontest) failing
# addTest(calendaringtest) failing
addTest(icalendartest)
addTest(freebusytest)
# addTest(kolabobjecttest) failing
# addTest(timezonetest) failing
addTest(mimeobjecttest)
# addTest(xmlobjecttest) failing
addTest(debugstreamtest)
addTest(legacyformattest)