plasma-framework/tests/CMakeLists.txt
Aaron J. Seigo 87548ab1b2 unit test for type detection in RunnerContext so that we avoid regressions in the future
svn path=/trunk/KDE/kdelibs/; revision=1083290
2010-01-31 23:39:32 +00:00

22 lines
586 B
CMake

set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
MACRO(PLASMA_UNIT_TESTS)
FOREACH(_testname ${ARGN})
kde4_add_unit_test(${_testname} ${_testname}.cpp)
target_link_libraries(${_testname} plasma ${QT_QTTEST_LIBRARY}
${KDE4_KIO_LIBS})
ENDFOREACH(_testname)
ENDMACRO(PLASMA_UNIT_TESTS)
PLASMA_UNIT_TESTS(
packagestructuretest
packagemetadatatest
plasmoidpackagetest
runnercontexttest
)
if(QCA2_FOUND)
target_link_libraries(plasmoidpackagetest ${QCA2_LIBRARIES})
endif(QCA2_FOUND)