2015-09-25 01:51:21 +00:00
|
|
|
if(ENABLE_TESTING)
|
|
|
|
add_subdirectory(tests)
|
|
|
|
endif()
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
set(appletbrowserdialog_SRCS
|
|
|
|
widgetsexplorer/kcategorizeditemsviewmodels.cpp
|
|
|
|
widgetsexplorer/plasmaappletitemmodel.cpp
|
|
|
|
widgetsexplorer/widgetexplorer.cpp
|
|
|
|
widgetsexplorer/openwidgetassistant.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(scripting_SRC
|
|
|
|
scripting/appinterface.cpp
|
|
|
|
scripting/applet.cpp
|
|
|
|
scripting/containment.cpp
|
|
|
|
scripting/configgroup.cpp
|
|
|
|
scripting/i18n.cpp
|
|
|
|
scripting/layouttemplatepackagestructure.cpp
|
|
|
|
scripting/rect.cpp
|
|
|
|
scripting/scriptengine.cpp
|
|
|
|
scripting/widget.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(plasmagenericshell_LIB_SRCS
|
|
|
|
backgrounddialog.cpp
|
|
|
|
mouseinputbutton.cpp
|
|
|
|
mouseplugins.cpp
|
|
|
|
mousepluginwidget.cpp
|
|
|
|
panelshadows.cpp
|
|
|
|
toolbutton.cpp
|
|
|
|
wallpaperpreview.cpp
|
|
|
|
${scripting_SRC}
|
|
|
|
${appletbrowserdialog_SRCS}
|
2015-09-01 04:37:19 +03:00
|
|
|
BackgroundDialog.ui
|
|
|
|
MousePlugins.ui
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
add_library(plasmagenericshell SHARED ${plasmagenericshell_LIB_SRCS})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
target_link_libraries(plasmagenericshell ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KFILE_LIBS} ${QT_QTSCRIPT_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTUITOOLS_LIBRARY} kworkspace kephal)
|
|
|
|
if(UNIX AND Q_WS_X11)
|
|
|
|
target_link_libraries(plasmagenericshell ${X11_LIBRARIES})
|
|
|
|
endif(UNIX AND Q_WS_X11)
|
|
|
|
|
|
|
|
set_target_properties(plasmagenericshell PROPERTIES VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION} )
|
|
|
|
|
|
|
|
install(DIRECTORY widgetsexplorer/package/
|
2020-02-08 19:29:32 +00:00
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/plasma/packages/org.kde.desktop.widgetexplorer
|
2014-11-13 19:30:51 +02:00
|
|
|
PATTERN "Messages.sh" EXCLUDE
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS plasmagenericshell EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
2020-02-08 19:29:32 +00:00
|
|
|
INSTALL(FILES plasma-layout-template.desktop DESTINATION ${KDE4_SERVICETYPES_INSTALL_DIR})
|
2014-11-13 19:30:51 +02:00
|
|
|
|