Warning, /plasma/latte-dock/app/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(lattedock-app_SRCS 0002 alternativeshelper.cpp 0003 apptypes.cpp 0004 infoview.cpp 0005 lattecorona.cpp 0006 screenpool.cpp 0007 primaryoutputwatcher.cpp 0008 main.cpp 0009 coretypes.h 0010 ) 0011 0012 add_subdirectory(data) 0013 add_subdirectory(declarativeimports) 0014 add_subdirectory(indicator) 0015 add_subdirectory(layout) 0016 add_subdirectory(layouts) 0017 add_subdirectory(package) 0018 add_subdirectory(plasma/extended) 0019 add_subdirectory(settings) 0020 add_subdirectory(settings/generic) 0021 add_subdirectory(settings/actionsdialog) 0022 add_subdirectory(settings/detailsdialog) 0023 add_subdirectory(settings/detailsdialog/delegates) 0024 add_subdirectory(settings/exporttemplatedialog) 0025 add_subdirectory(settings/exporttemplatedialog/delegates) 0026 add_subdirectory(settings/screensdialog) 0027 add_subdirectory(settings/screensdialog/delegates) 0028 add_subdirectory(settings/settingsdialog) 0029 add_subdirectory(settings/settingsdialog/delegates) 0030 add_subdirectory(settings/viewsdialog) 0031 add_subdirectory(settings/viewsdialog/delegates) 0032 add_subdirectory(shortcuts) 0033 add_subdirectory(templates) 0034 add_subdirectory(tools) 0035 add_subdirectory(view) 0036 add_subdirectory(view/helpers) 0037 add_subdirectory(view/indicator) 0038 add_subdirectory(view/settings) 0039 add_subdirectory(view/windowstracker) 0040 add_subdirectory(wm) 0041 add_subdirectory(wm/tracker) 0042 0043 set(latte_dbusXML dbus/org.kde.LatteDock.xml) 0044 qt5_add_dbus_adaptor(lattedock-app_SRCS ${latte_dbusXML} lattecorona.h Latte::Corona lattedockadaptor) 0045 0046 ki18n_wrap_ui(lattedock-app_SRCS settings/actionsdialog/actionsdialog.ui) 0047 ki18n_wrap_ui(lattedock-app_SRCS settings/detailsdialog/detailsdialog.ui) 0048 ki18n_wrap_ui(lattedock-app_SRCS settings/exporttemplatedialog/exporttemplatedialog.ui) 0049 ki18n_wrap_ui(lattedock-app_SRCS settings/screensdialog/screensdialog.ui) 0050 ki18n_wrap_ui(lattedock-app_SRCS settings/settingsdialog/settingsdialog.ui) 0051 ki18n_wrap_ui(lattedock-app_SRCS settings/viewsdialog/viewsdialog.ui) 0052 0053 ecm_add_qtwayland_client_protocol(lattedock-app_SRCS 0054 PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-primary-output-v1.xml 0055 BASENAME kde-primary-output-v1 0056 ) 0057 0058 add_executable(latte-dock ${lattedock-app_SRCS}) 0059 0060 include(FakeTarget.cmake) 0061 0062 target_link_libraries(latte-dock 0063 Qt5::DBus 0064 Qt5::Quick 0065 Qt5::Qml 0066 KF5::Activities 0067 KF5::Archive 0068 KF5::CoreAddons 0069 KF5::Crash 0070 KF5::DBusAddons 0071 KF5::Declarative 0072 KF5::GuiAddons 0073 KF5::GlobalAccel 0074 KF5::I18n 0075 KF5::IconThemes 0076 KF5::KIOWidgets 0077 KF5::Notifications 0078 KF5::NewStuff 0079 KF5::QuickAddons 0080 KF5::Plasma 0081 KF5::PlasmaQuick 0082 KF5::WaylandClient 0083 KF5::XmlGui 0084 Wayland::Client 0085 ) 0086 0087 0088 if(HAVE_X11) 0089 target_link_libraries(latte-dock 0090 Qt5::X11Extras 0091 KF5::WindowSystem 0092 ${X11_LIBRARIES} 0093 ${XCB_LIBRARIES} 0094 ) 0095 endif() 0096 0097 configure_file(org.kde.latte-dock.desktop.cmake org.kde.latte-dock.desktop) 0098 configure_file(org.kde.latte-dock.appdata.xml.cmake org.kde.latte-dock.appdata.xml) 0099 0100 install(TARGETS latte-dock ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0101 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.latte-dock.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 0102 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.latte-dock.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) 0103 install(FILES dbus/org.kde.LatteDock.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}) 0104 install(FILES lattedock.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR}) 0105 install(FILES latte-layouts.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) 0106 install(FILES latte-indicators.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) 0107 0108 0109 add_subdirectory(packageplugins)