mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 19:02:51 +00:00

automatically replaced via: find -name CMakeLists.txt -exec sed -e 's|${KDE4_PLASMA_LIBS}|KDE4::plasma|g' -e 's|${KDE4_KIO_LIBS}|KDE4::kio|g' -e 's|${KDE4_SOLID_LIBS}|KDE4::solid|g' -e 's|${KDE4_KFILE_LIBS}|KDE4::kfile|g' -e 's|${KDE4_KDECORE_LIBS}|KDE4::kdecore|g' -e 's|${KDE4_KDEUI_LIBS}|KDE4::kdeui|g' -e 's|${KDE4_KCMUTILS_LIBS}|KDE4::kcmutils|g' -e 's|${KDE4_KDECLARATIVE_LIBS}|KDE4::kdeclarative|g' -e 's|${KDE4_KPTY_LIBS}|KDE4::kpty|g' -e 's|${KDE4_KEMAIL_LIBS}|KDE4::kemail|g' -e 's|${KDE4_KMEDIAPLAYER_LIBS}|KDE4::kmediaplayer|g' -e 's|${KDE4_KPARTS_LIBS}|KDE4::kparts|g' -e 's|${KDE4_KIDLETIME_LIBS}|KDE4::kidletime|g' -e 's|${KDE4_KTEXTEDITOR_LIBS}|KDE4::ktexteditor|g' -e 's|${KDE4_KPASSWDSTORE_LIBS}|KDE4::kpasswdstore|g' -e 's|${KDE4_KARCHIVE_LIBS}|KDE4::karchive|g' -e 's|${KDE4_KDNSSD_LIBS}|KDE4::kdnssd|g' -e 's|${KDE4_KNOTIFYCONFIG_LIBS}|KDE4::knotifyconfig|g' -e 's|${KDE4_KEXIV2_LIBS}|KDE4::kexiv2|g' -i {} + Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
47 lines
1.5 KiB
CMake
47 lines
1.5 KiB
CMake
#DECLARATIVE APPLET
|
|
set(declarative_appletscript_SRCS
|
|
common/extension_launchapp.cpp
|
|
common/extension_io.cpp
|
|
common/javascriptaddonpackagestructure.cpp
|
|
common/scriptenv.cpp
|
|
declarative/toolboxproxy.cpp
|
|
declarative/appletcontainer.cpp
|
|
declarative/declarativeitemcontainer.cpp
|
|
plasmoid/abstractjsappletscript.cpp
|
|
plasmoid/appletinterface.cpp
|
|
plasmoid/declarativeappletscript.cpp
|
|
plasmoid/themedsvg.cpp
|
|
simplebindings/bytearrayclass.cpp
|
|
simplebindings/bytearrayprototype.cpp
|
|
simplebindings/dataengine.cpp
|
|
simplebindings/dataenginereceiver.cpp
|
|
simplebindings/filedialogproxy.cpp
|
|
simplebindings/qscriptbookkeeping.cpp
|
|
simplebindings/url.cpp
|
|
simplebindings/point.cpp
|
|
)
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/common)
|
|
|
|
set_source_files_properties(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/common/extension_launchapp.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/simplebindings/qscriptbookkeeping.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/simplebindings/bytearrayprototype.cpp
|
|
PROPERTIES SKIP_UNITY_BUILD_INCLUSION TRUE
|
|
)
|
|
|
|
kde4_add_plugin(plasma_appletscript_declarative ${declarative_appletscript_SRCS})
|
|
target_link_libraries(plasma_appletscript_declarative
|
|
KDE4::plasma
|
|
KDE4::kio
|
|
${QT_QTSCRIPT_LIBRARY}
|
|
${QT_QTDECLARATIVE_LIBRARY}
|
|
${QT_QTUITOOLS_LIBRARY}
|
|
|
|
)
|
|
|
|
|
|
install(TARGETS plasma_appletscript_declarative DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
|
|
install(FILES data/plasma-scriptengine-applet-declarative.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
|
|
|
|
|