set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )

include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../
${CMAKE_CURRENT_SOURCE_DIR}/../processcore/
${CMAKE_CURRENT_SOURCE_DIR}/../processui/ )


kde4_add_unit_test(processtest processtest.cpp)

target_link_libraries(processtest processui ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY})

set( signalplottertest_SRCS signalplottertest.cpp ../signalplotter/ksignalplotter.cpp)
set( signalplotterbenchmark_SRCS signalplotterbenchmark.cpp ../signalplotter/ksignalplotter.cpp)
kde4_add_unit_test( signalplottertest
    TESTNAME ksubmodule-signalplottertest
    ${signalplottertest_SRCS}
)

kde4_add_unit_test( signalplotterbenchmark
    TESTNAME ksubmodule-signalplottertest
    ${signalplotterbenchmark_SRCS}
)

target_link_libraries( signalplottertest
    ${KDE4_KDEUI_LIBS}
    ${QT_QTTEST_LIBRARY}
)
target_link_libraries( signalplotterbenchmark
    ${KDE4_KDEUI_LIBS}
    ${QT_QTTEST_LIBRARY}
    ${QT_QTBENCHMARK_LIBRARY}
)



