2009-07-04 06:30:57 +02:00
|
|
|
# APPLET
|
|
|
|
|
2009-05-13 02:55:25 +02:00
|
|
|
set(simple_javascript_engine_SRCS
|
2010-01-07 03:04:59 +01:00
|
|
|
appletauthorization.cpp
|
2010-01-07 03:26:44 +01:00
|
|
|
scriptenvui.cpp
|
2009-05-13 02:55:25 +02:00
|
|
|
simplejavascriptapplet.cpp
|
2009-12-14 22:54:23 +01:00
|
|
|
simplebindings/animationgroup.cpp
|
2009-11-27 20:34:04 +01:00
|
|
|
simplebindings/appletinterface.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/anchorlayout.cpp
|
2010-03-11 00:10:33 +01:00
|
|
|
simplebindings/dataenginereceiver.cpp
|
2009-12-16 23:05:46 +01:00
|
|
|
simplebindings/bytearrayclass.cpp
|
|
|
|
simplebindings/bytearrayprototype.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/color.cpp
|
2010-02-13 01:53:46 +01:00
|
|
|
simplebindings/dataengine.cpp
|
2010-01-13 00:32:56 +01:00
|
|
|
simplebindings/easingcurve.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/font.cpp
|
|
|
|
simplebindings/filedialogproxy.cpp
|
|
|
|
simplebindings/graphicsitem.cpp
|
2010-02-24 01:35:37 +01:00
|
|
|
simplebindings/icon.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/linearlayout.cpp
|
2009-11-29 05:17:30 +01:00
|
|
|
simplebindings/gridlayout.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/painter.cpp
|
2009-11-27 21:29:14 +01:00
|
|
|
simplebindings/pen.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/pixmap.cpp
|
|
|
|
simplebindings/point.cpp
|
|
|
|
simplebindings/rect.cpp
|
2009-12-16 23:05:46 +01:00
|
|
|
simplebindings/qscriptbookkeeping.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/size.cpp
|
|
|
|
simplebindings/timer.cpp
|
2009-11-27 04:12:43 +01:00
|
|
|
simplebindings/uiloader.cpp
|
2009-11-18 23:39:12 +01:00
|
|
|
simplebindings/url.cpp
|
2009-12-16 23:05:46 +01:00
|
|
|
simplebindings/variant.cpp
|
2009-05-13 02:55:25 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(${PHONON_INCLUDES})
|
|
|
|
|
2009-10-21 01:15:33 +02:00
|
|
|
kde4_add_plugin(plasma_appletscript_simple_javascript ${simple_javascript_engine_SRCS})
|
2009-05-13 02:55:25 +02:00
|
|
|
|
|
|
|
target_link_libraries(plasma_appletscript_simple_javascript
|
|
|
|
${KDE4_KDECORE_LIBS}
|
2009-11-14 08:27:49 +01:00
|
|
|
${KDE4_KIO_LIBS}
|
2009-05-13 02:55:25 +02:00
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY}
|
|
|
|
${QT_QTUITOOLS_LIBRARY}
|
|
|
|
${QT_QTXML_LIBRARY}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS plasma_appletscript_simple_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-scriptengine-applet-simple-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|
2009-07-04 06:30:57 +02:00
|
|
|
# RUNNER
|
|
|
|
|
2009-05-13 02:55:25 +02:00
|
|
|
set(javascript_runner_engine_SRCS
|
|
|
|
javascriptrunner.cpp
|
2010-01-07 03:39:49 +01:00
|
|
|
scriptenv.cpp
|
2009-05-13 02:55:25 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_plugin(plasma_runnerscript_javascript ${javascript_runner_engine_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(plasma_runnerscript_javascript
|
2010-01-07 03:39:49 +01:00
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY})
|
2009-05-13 02:55:25 +02:00
|
|
|
|
|
|
|
install(TARGETS plasma_runnerscript_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-scriptengine-runner-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
2009-07-04 06:30:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
# DATAENGINE
|
|
|
|
|
|
|
|
set(javascript_dataengine_engine_SRCS
|
|
|
|
javascriptdataengine.cpp
|
2010-01-07 03:26:44 +01:00
|
|
|
scriptenv.cpp
|
2010-02-13 01:53:46 +01:00
|
|
|
simplebindings/dataengine.cpp
|
2009-12-16 23:05:46 +01:00
|
|
|
simplebindings/variant.cpp
|
2009-07-04 06:30:57 +02:00
|
|
|
)
|
|
|
|
kde4_add_plugin(plasma_dataenginescript_javascript ${javascript_dataengine_engine_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(plasma_dataenginescript_javascript
|
2010-01-07 03:39:49 +01:00
|
|
|
${KDE4_KDECORE_LIBS}
|
|
|
|
${KDE4_KIO_LIBS}
|
|
|
|
${KDE4_PLASMA_LIBS}
|
|
|
|
${QT_QTSCRIPT_LIBRARY})
|
2009-07-04 06:30:57 +02:00
|
|
|
|
|
|
|
install(TARGETS plasma_dataenginescript_javascript DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
|
install(FILES plasma-scriptengine-dataengine-javascript.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
|