kde-workspace/plasma/shells/plasma-desktop/CMakeLists.txt
Ivailo Monev c17805df29 plasma: remove redundant plasma-desktop shell config
the default Plasma::Theme font is already set to QApplication::font() by
Plasma::Theme itself, it has configuration option for it too which is to
read the font setting from the application "General" config group. for
reference:
kdelibs/plasma/theme.cpp

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-29 11:30:14 +03:00

65 lines
1.5 KiB
CMake

include_directories(
${CMAKE_SOURCE_DIR}/libs
${CMAKE_SOURCE_DIR}/libs/plasmagenericshell
${CMAKE_SOURCE_DIR}/plasma/desktop/shell/scripting
)
set(plasma_SRCS
scripting/desktopscriptengine.cpp
scripting/panel.cpp
checkbox.cpp
controllerwindow.cpp
desktopcorona.cpp
desktopview.cpp
desktoptracker.cpp
interactiveconsole.cpp
main.cpp
panelcontroller.cpp
panelview.cpp
panelapplethandle.cpp
panelappletoverlay.cpp
plasmaapp.cpp
positioningruler.cpp
klistconfirmationdialog.cpp
)
set(plasmaapp_dbusXML dbus/org.kde.plasma.App.xml)
qt4_add_dbus_adaptor(plasma_SRCS ${plasmaapp_dbusXML} plasmaapp.h PlasmaApp)
set(ksmserver_xml ${CMAKE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
qt4_add_dbus_interface(plasma_SRCS ${ksmserver_xml} ksmserver_interface)
add_executable(plasma-desktop ${plasma_SRCS})
target_link_libraries(plasma-desktop
KDE4::plasma
KDE4::kio
KDE4::kfile
KDE4::ktexteditor
KDE4::kidletime
${QT_QTSCRIPT_LIBRARY}
${QT_QTDECLARATIVE_LIBRARY}
${X11_LIBRARIES}
kworkspace
plasmagenericshell
)
install(
TARGETS plasma-desktop
DESTINATION ${KDE4_BIN_INSTALL_DIR}
)
install(
FILES data/plasma-desktop.desktop
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}
)
install(
FILES data/plasma-desktop-js.xml
DESTINATION ${KDE4_DATA_INSTALL_DIR}/katepart/syntax/
)
install(
FILES data/plasma-desktoprc
DESTINATION ${KDE4_CONFIG_INSTALL_DIR}
)