2014-11-13 19:30:51 +02:00
|
|
|
set(libklipper_common_SRCS
|
|
|
|
klipper.cpp
|
|
|
|
urlgrabber.cpp
|
|
|
|
configdialog.cpp
|
|
|
|
history.cpp
|
|
|
|
historyitem.cpp
|
|
|
|
historystringitem.cpp
|
|
|
|
klipperpopup.cpp
|
|
|
|
popupproxy.cpp
|
|
|
|
historyimageitem.cpp
|
|
|
|
historyurlitem.cpp
|
|
|
|
actionstreewidget.cpp
|
|
|
|
editactiondialog.cpp
|
|
|
|
clipcommandprocess.cpp
|
2015-09-01 04:37:19 +03:00
|
|
|
generalconfig.ui
|
|
|
|
actionsconfig.ui
|
|
|
|
editactiondialog.ui
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
kde4_add_kcfg_files(libklipper_common_SRCS klippersettings.kcfgc)
|
|
|
|
|
2015-05-09 16:39:54 +00:00
|
|
|
set(klipper_SRCS ${libklipper_common_SRCS} main.cpp tray.cpp)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2015-09-01 04:37:19 +03:00
|
|
|
add_executable(klipper ${klipper_SRCS})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2022-04-10 19:49:06 +03:00
|
|
|
target_link_libraries(klipper
|
2023-06-17 23:26:56 +03:00
|
|
|
KDE4::kdeui
|
|
|
|
KDE4::kfile
|
2022-04-10 19:49:06 +03:00
|
|
|
${QT_QTNETWORK_LIBRARY}
|
|
|
|
${X11_LIBRARIES}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
if (X11_Xfixes_FOUND)
|
2023-06-17 18:38:55 +03:00
|
|
|
target_link_libraries(klipper ${X11_Xfixes_LIB})
|
2014-11-13 19:30:51 +02:00
|
|
|
endif (X11_Xfixes_FOUND)
|
|
|
|
|
2023-06-17 18:38:55 +03:00
|
|
|
install(
|
|
|
|
TARGETS klipper
|
|
|
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
|
|
|
)
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2023-06-17 18:38:55 +03:00
|
|
|
install(
|
|
|
|
PROGRAMS klipper.desktop
|
|
|
|
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
|
|
|
)
|
|
|
|
install(
|
|
|
|
PROGRAMS klipper.desktop
|
|
|
|
DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}
|
|
|
|
)
|