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