~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to plasma/generic/scriptengines/webkit/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_subdirectory(dashboard)
 
2
 
 
3
project(plasma-webapplet)
 
4
 
 
5
set(webapplet_SRCS
 
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})
 
10
 
 
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})
 
16
 
 
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})
 
22
 
 
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})
 
28
 
 
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})