mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 10:52:51 +00:00

kde4_add_manual_test() macro already does it Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
30 lines
1.3 KiB
CMake
30 lines
1.3 KiB
CMake
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../processcore/
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../processui/ )
|
|
|
|
|
|
# Process unit test
|
|
kde4_add_test(ksysguard-processtest processtest.cpp)
|
|
target_link_libraries(ksysguard-processtest processui ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY})
|
|
|
|
|
|
# KSignalPlotter benchmark
|
|
set(signalplotterbenchmark_SRCS signalplotterbenchmark.cpp ../signalplotter/ksignalplotter.cpp)
|
|
kde4_add_test(ksysguard-signalplotterbenchmark ${signalplotterbenchmark_SRCS})
|
|
target_link_libraries(ksysguard-signalplotterbenchmark ${KDE4_KDEUI_LIBS} ${QT_QTTEST_LIBRARY} ${QT_QTBENCHMARK_LIBRARY})
|
|
|
|
|
|
# KGraphicsSignalPlotter benchmark
|
|
set(graphicssignalplotterbenchmark_SRCS graphicssignalplotterbenchmark.cpp ../signalplotter/kgraphicssignalplotter.cpp)
|
|
kde4_add_test(ksysguard-graphicssignalplotterbenchmark ${graphicssignalplotterbenchmark_SRCS})
|
|
target_link_libraries(ksysguard-graphicssignalplotterbenchmark ${KDE4_KDEUI_LIBS} ${QT_QTTEST_LIBRARY} ${QT_QTBENCHMARK_LIBRARY})
|
|
|
|
|
|
# KSignalPlotter unit test
|
|
set( signalplottertest_SRCS signalplottertest.cpp ../signalplotter/ksignalplotter.cpp)
|
|
kde4_add_test(ksysguard-signalplottertest ${signalplottertest_SRCS} )
|
|
target_link_libraries(ksysguard-signalplottertest ${KDE4_KDEUI_LIBS} ${QT_QTTEST_LIBRARY})
|
|
|
|
|
|
|
|
|