kde-workspace/kmenuedit/CMakeLists.txt
Ivailo Monev 5949b572bc khotkeys: drop it
the only use case is to launch ksnapshot which can be done by
plasma-desktop, some of the actions code is borked (notably window
matching, global and menu actions were working) and I have no
intention to fix it. even if fixed when a window (and thus possibly
application) key is grabbed there is a chance the window (application)
may want to grab the grabbed key and fail (i.e. grab conflict) so it
shall be left to the application to set what keys shall be global
(grabbed) hence the bits to start ksnapshot are moved to plasma-desktop

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-29 23:04:14 +03:00

47 lines
860 B
CMake

add_subdirectory(pixmaps)
set(kmenueditcommon_STAT_SRCS
preferencesdlg.cpp
basictab.cpp
treeview.cpp
kmenuedit.cpp
menufile.cpp
menuinfo.cpp
)
########### next target ###############
qt4_add_dbus_adaptor(
kmenueditcommon_STAT_SRCS
org.kde.kmenuedit.xml
kmenuedit.h
KMenuEdit
)
set(kmenuedit_SRCS main.cpp ${kmenueditcommon_STAT_SRCS})
add_executable(kmenuedit ${kmenuedit_SRCS})
target_link_libraries(kmenuedit
KDE4::kio
${QT_QTXML_LIBRARY}
${QT_QTDBUS_LIBRARY}
)
install(
TARGETS kmenuedit
DESTINATION ${KDE4_BIN_INSTALL_DIR}
)
########### install files ###############
install(
PROGRAMS kmenuedit.desktop
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
)
install(
FILES kmenueditui.rc
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kmenuedit
)
kde4_install_icons(${KDE4_ICON_INSTALL_DIR})