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