
include(KDE4Defaults)

set(mobile_launcher_SRCS
    mobilelauncher.cpp
    models/krunnermodel.cpp
    models/standarditemfactory.cpp
    resultwidget.cpp
    ../../common/qmlwidget.cpp
    )

kde4_add_plugin(plasma_containment_mobilelauncher ${mobile_launcher_SRCS})
target_link_libraries(plasma_containment_mobilelauncher ${KDE4_PLASMA_LIBS} ${QT_QTDECLARATIVE_LIBRARY} )

install(DIRECTORY qml/ DESTINATION ${DATA_INSTALL_DIR}/plasma-mobile/containments/mobilelauncher PATTERN .svn EXCLUDE)
install(TARGETS plasma_containment_mobilelauncher DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-containment-mobilelauncher.desktop DESTINATION ${SERVICES_INSTALL_DIR})
