add more spacing
[personal-kdebase.git] / workspace / plasma / scriptengines / javascript / CMakeLists.txt
blobd5a295eb67413b2b8758ce75b5e0f25fdb036571
1 set(simple_javascript_engine_SRCS
2     simplejavascriptapplet.cpp
3     appletinterface.cpp
4     uiloader.cpp
5     qtgui/font.cpp
6     qtgui/graphicsitem.cpp
7     qtgui/linearlayout.cpp
8     qtgui/painter.cpp
9     qtgui/point.cpp
10     qtgui/rect.cpp
11     qtgui/size.cpp
12     qtgui/timer.cpp
15 kde4_add_plugin(plasma_appletscript_simple_javascript
16                 ${simple_javascript_engine_SRCS})
18 target_link_libraries(plasma_appletscript_simple_javascript
19                        ${KDE4_KDECORE_LIBS}
20                        ${KDE4_PLASMA_LIBS}
21                        ${QT_QTSCRIPT_LIBRARY}
22                        ${QT_QTUITOOLS_LIBRARY}
23                        ${QT_QTXML_LIBRARY}
24                        )
26 install(TARGETS plasma_appletscript_simple_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
27 install(FILES plasma-scriptengine-applet-simple-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
29 set(javascript_runner_engine_SRCS
30     javascriptrunner.cpp
33 kde4_add_plugin(plasma_runnerscript_javascript ${javascript_runner_engine_SRCS})
35 target_link_libraries(plasma_runnerscript_javascript
36                        ${KDE4_KDECORE_LIBS}
37                        ${KDE4_PLASMA_LIBS}
38                        ${QT_QTSCRIPT_LIBRARY}
39                        ${QT_QTUITOOLS_LIBRARY}
40                        ${QT_QTXML_LIBRARY}
41                        )
43 install(TARGETS plasma_runnerscript_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
44 install(FILES plasma-scriptengine-runner-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR})