1 add_subdirectory(dashboard)
3 project(plasma-webapplet)
6 webpage.cpp webapplet.cpp plasmawebapplet.cpp plasmajs.cpp webapplet_plugin.cpp)
7 kde4_add_plugin(plasma_appletscriptengine_webapplet ${webapplet_SRCS})
8 target_link_libraries(plasma_appletscriptengine_webapplet ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${QT_QTWEBKIT_LIBRARY} )
9 install(TARGETS plasma_appletscriptengine_webapplet DESTINATION ${PLUGIN_INSTALL_DIR})
11 set(webappletpackage_SRCS
12 webapplet_package.cpp)
13 kde4_add_plugin(plasma_packagestructure_web ${webappletpackage_SRCS})
14 target_link_libraries(plasma_packagestructure_web ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${QT_QTWEBKIT_LIBRARY} )
15 install(TARGETS plasma_packagestructure_web DESTINATION ${PLUGIN_INSTALL_DIR})
17 set(dashboardapplet_SRCS
18 webpage.cpp webapplet.cpp dashboardapplet.cpp bundle.cpp dashboardjs.cpp)
19 kde4_add_plugin(plasma_appletscriptengine_dashboard ${dashboardapplet_SRCS})
20 target_link_libraries(plasma_appletscriptengine_dashboard ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${QT_QTWEBKIT_LIBRARY} )
21 install(TARGETS plasma_appletscriptengine_dashboard DESTINATION ${PLUGIN_INSTALL_DIR})
23 set(bundlepackage_SRCS
24 bundle.cpp dashboard_plugin.cpp)
25 kde4_add_plugin(plasma_packagestructure_dashboard ${bundlepackage_SRCS})
26 target_link_libraries(plasma_packagestructure_dashboard ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${QT_QTWEBKIT_LIBRARY} )
27 install(TARGETS plasma_packagestructure_dashboard DESTINATION ${PLUGIN_INSTALL_DIR})
29 install(FILES plasma-scriptengine-applet-web.desktop
30 plasma-scriptengine-applet-dashboard.desktop
31 plasma-packagestructure-dashboard.desktop
32 plasma-packagestructure-web.desktop
33 DESTINATION ${SERVICES_INSTALL_DIR})