use ecm macros for tests in qtextracomponents

This commit is contained in:
Sebastian Kügler 2013-06-19 02:51:59 +02:00
parent 66ed317518
commit 2b6eea985e

View File

@ -1,10 +1,15 @@
INCLUDE_DIRECTORIES(.. .)
kde4_add_unit_test(fullmodelaccesstest columnproxymodeltest.cpp ../columnproxymodel.cpp ../../core/tests/modeltest.cpp)
include(ECMMarkAsTest)
add_executable(fullmodelaccesstest columnproxymodeltest.cpp ../columnproxymodel.cpp ../../core/tests/modeltest.cpp)
target_link_libraries(fullmodelaccesstest
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
${QT_QTTEST_LIBRARY}
${KDE4_KDECORE_LIBS}
${kde4support_LIBRARY}
KDE4__kde4support
)
add_test(plasma-fullmodelaccesstest fullmodelaccesstest)
ecm_mark_as_test(fullmodelaccesstest)