plasma-framework/declarativeimports/core/tests/CMakeLists.txt
Marco Martin 95e5431610 move the runnermodel in core
the old plugin is still there for compatibility, however is discouraged to be used
2012-10-03 15:40:55 +02:00

31 lines
789 B
CMake

INCLUDE_DIRECTORIES(
${corebindings_SOURCE_DIR}
)
kde4_add_unit_test(sortfiltermodeltest
sortfiltermodeltest.cpp
${corebindings_SOURCE_DIR}/dataengineconsumer.cpp
${corebindings_SOURCE_DIR}/datamodel.cpp
${corebindings_SOURCE_DIR}/datasource.cpp
)
qt4_automoc(sortfiltermodeltest.cpp)
target_link_libraries(sortfiltermodeltest
${KDE4_PLASMA_LIBS}
${QT_QTGUI_LIBRARY}
${QT_QTTEST_LIBRARY}
)
set(runnermodeltest_SRCS
main.cpp
dynamictreemodel.cpp
modeltest.cpp
../runnermodel.cpp
)
qt4_automoc(${runnermodeltest_SRCS})
#kde4_add_library(datamodelsplugin SHARED ${datamodels_SRCS})
kde4_add_executable(runnermodeltest ${runnermodeltest_SRCS})
target_link_libraries(runnermodeltest ${QT_QTTEST_LIBRARY} ${KDE4_PLASMA_LIBS})