2014-11-13 19:30:51 +02:00
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../processcore/
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../processui/ )
|
|
|
|
|
|
|
|
# Process unit test
|
2015-09-06 09:38:29 +03:00
|
|
|
kde4_add_test(ksysguard-processtest processtest.cpp)
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(ksysguard-processtest processui KDE4::kdecore ${QT_QTTEST_LIBRARY})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
# KSignalPlotter benchmark
|
2015-09-06 09:38:29 +03:00
|
|
|
set(signalplotterbenchmark_SRCS signalplotterbenchmark.cpp ../signalplotter/ksignalplotter.cpp)
|
|
|
|
kde4_add_test(ksysguard-signalplotterbenchmark ${signalplotterbenchmark_SRCS})
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(ksysguard-signalplotterbenchmark KDE4::kdeui ${QT_QTTEST_LIBRARY} ${QT_QTBENCHMARK_LIBRARY})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
# KSignalPlotter unit test
|
|
|
|
set( signalplottertest_SRCS signalplottertest.cpp ../signalplotter/ksignalplotter.cpp)
|
2015-09-06 09:38:29 +03:00
|
|
|
kde4_add_test(ksysguard-signalplottertest ${signalplottertest_SRCS} )
|
2023-06-17 23:26:56 +03:00
|
|
|
target_link_libraries(ksysguard-signalplottertest KDE4::kdeui ${QT_QTTEST_LIBRARY})
|