2022-04-03 05:13:17 +03:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_SOURCE_DIR}/libs
|
|
|
|
${CMAKE_SOURCE_DIR}/libs/plasmagenericshell
|
|
|
|
${CMAKE_SOURCE_DIR}/plasma/desktop/shell/scripting
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(plasma_SRCS
|
|
|
|
scripting/desktopscriptengine.cpp
|
|
|
|
scripting/panel.cpp
|
|
|
|
checkbox.cpp
|
|
|
|
controllerwindow.cpp
|
|
|
|
desktopcorona.cpp
|
|
|
|
desktopview.cpp
|
2022-04-03 05:13:17 +03:00
|
|
|
desktoptracker.cpp
|
2014-11-13 19:30:51 +02:00
|
|
|
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)
|
|
|
|
|
2015-10-31 13:44:54 +02:00
|
|
|
set(ksmserver_xml ${CMAKE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml)
|
2014-11-13 19:30:51 +02:00
|
|
|
qt4_add_dbus_interface(plasma_SRCS ${ksmserver_xml} ksmserver_interface)
|
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
add_executable(plasma-desktop ${plasma_SRCS})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2022-11-25 00:39:15 +02:00
|
|
|
target_link_libraries(plasma-desktop
|
2023-06-17 23:26:56 +03:00
|
|
|
KDE4::plasma
|
|
|
|
KDE4::kio
|
|
|
|
KDE4::kfile
|
|
|
|
KDE4::ktexteditor
|
|
|
|
KDE4::kidletime
|
2022-11-25 00:39:15 +02:00
|
|
|
${QT_QTSCRIPT_LIBRARY}
|
|
|
|
${QT_QTDECLARATIVE_LIBRARY}
|
2023-06-17 18:38:55 +03:00
|
|
|
${X11_LIBRARIES}
|
2022-11-25 00:39:15 +02:00
|
|
|
kworkspace
|
|
|
|
plasmagenericshell
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2023-06-17 18:38:55 +03:00
|
|
|
install(
|
|
|
|
TARGETS plasma-desktop
|
|
|
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
|
|
|
)
|
2023-07-09 05:50:12 +03:00
|
|
|
|
2023-06-17 18:38:55 +03:00
|
|
|
install(
|
|
|
|
FILES data/plasma-desktop.desktop
|
|
|
|
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}
|
|
|
|
)
|
2023-07-09 05:50:12 +03:00
|
|
|
|
2023-06-17 18:38:55 +03:00
|
|
|
install(
|
|
|
|
FILES data/plasma-desktop-js.xml
|
|
|
|
DESTINATION ${KDE4_DATA_INSTALL_DIR}/katepart/syntax/
|
|
|
|
)
|
2023-07-09 05:50:12 +03:00
|
|
|
|
2015-11-13 04:38:56 +02:00
|
|
|
install(
|
2016-01-28 13:57:37 +02:00
|
|
|
FILES data/plasma-desktoprc
|
2020-02-08 19:29:32 +00:00
|
|
|
DESTINATION ${KDE4_CONFIG_INSTALL_DIR}
|
2015-11-13 04:38:56 +02:00
|
|
|
)
|