use ecm macros for tests in qtextracomponents
This commit is contained in:
parent
66ed317518
commit
2b6eea985e
@ -1,10 +1,15 @@
|
|||||||
INCLUDE_DIRECTORIES(.. .)
|
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
|
target_link_libraries(fullmodelaccesstest
|
||||||
${QT_QTCORE_LIBRARY}
|
${QT_QTCORE_LIBRARY}
|
||||||
${QT_QTGUI_LIBRARY}
|
${QT_QTGUI_LIBRARY}
|
||||||
${QT_QTTEST_LIBRARY}
|
${QT_QTTEST_LIBRARY}
|
||||||
${KDE4_KDECORE_LIBS}
|
${KDE4_KDECORE_LIBS}
|
||||||
${kde4support_LIBRARY}
|
KDE4__kde4support
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_test(plasma-fullmodelaccesstest fullmodelaccesstest)
|
||||||
|
ecm_mark_as_test(fullmodelaccesstest)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user