1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 23:21:37 +03:00
latte-dock/app/CMakeLists.txt

59 lines
1.4 KiB
CMake
Raw Normal View History

2016-12-25 16:37:20 +03:00
set(lattedock-app_SRCS
2016-12-25 22:28:00 +03:00
../liblattedock/dock.cpp
2016-12-29 06:27:55 +03:00
windowinfowrap.cpp
abstractwindowinterface.cpp
xwindowinterface.cpp
windowinfowrap.cpp
visibilitymanager.cpp
dockcorona.cpp
dockview.cpp
dockconfigview.cpp
packageplugins/shell/dockpackage.cpp
panelshadows.cpp
alternativeshelper.cpp
2017-02-24 21:58:21 +03:00
screenpool.cpp
globalsettings.cpp
main.cpp
)
set(latte_dbusXML dbus/org.kde.LatteDock.xml)
qt5_add_dbus_adaptor(lattedock-app_SRCS ${latte_dbusXML} dockcorona.h Latte::DockCorona lattedockadaptor)
2016-12-25 16:37:20 +03:00
add_executable(latte-dock ${lattedock-app_SRCS})
2016-12-30 10:10:12 +03:00
include(FakeTarget.cmake)
2017-02-16 06:14:37 +03:00
target_link_libraries(latte-dock
Qt5::DBus
Qt5::Quick
Qt5::Qml
KF5::I18n
KF5::DBusAddons
2017-01-22 02:27:51 +03:00
KF5::Declarative
KF5::CoreAddons
KF5::Archive
KF5::XmlGui
KF5::Plasma
KF5::PlasmaQuick
KF5::Activities
KF5::Notifications
KF5::QuickAddons
KF5::WaylandClient
)
if(HAVE_X11)
2017-02-16 06:14:37 +03:00
target_link_libraries(latte-dock
Qt5::X11Extras
KF5::WindowSystem
${X11_LIBRARIES}
${XCB_LIBRARIES}
)
endif()
configure_file(latte-dock.desktop.cmake latte-dock.desktop)
2016-12-25 16:37:20 +03:00
install(TARGETS latte-dock ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/latte-dock.desktop DESTINATION ${KDE_INSTALL_APPDIR})
2017-03-21 10:05:48 +03:00
install(FILES dbus/org.kde.LatteDock.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR})
install(FILES lattedock.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})