Warning, /plasma/plasma-workspace/applets/kicker/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_definitions(
0002 -DQT_USE_QSTRINGBUILDER
0003 -DQT_NO_CAST_TO_ASCII
0004 -DQT_NO_CAST_FROM_ASCII
0005 -DQT_STRICT_ITERATORS
0006 -DQT_NO_CAST_FROM_BYTEARRAY
0007 -DQT_USE_FAST_OPERATOR_PLUS
0008 -DTRANSLATION_DOMAIN=\"libkicker\"
0009 )
0010
0011 set(kickerplugin_SRCS
0012 plugin/abstractentry.cpp
0013 plugin/abstractmodel.cpp
0014 plugin/actionlist.cpp
0015 plugin/appentry.cpp
0016 plugin/appsmodel.cpp
0017 plugin/computermodel.cpp
0018 plugin/containmentinterface.cpp
0019 plugin/draghelper.cpp
0020 plugin/simplefavoritesmodel.cpp
0021 plugin/kastatsfavoritesmodel.cpp
0022 plugin/fileentry.cpp
0023 plugin/forwardingmodel.cpp
0024 plugin/placeholdermodel.cpp
0025 plugin/funnelmodel.cpp
0026 plugin/dashboardwindow.cpp
0027 plugin/kickerplugin.cpp
0028 plugin/menuentryeditor.cpp
0029 plugin/processrunner.cpp
0030 plugin/rootmodel.cpp
0031 plugin/runnermodel.cpp
0032 plugin/runnermatchesmodel.cpp
0033 plugin/recentusagemodel.cpp
0034 plugin/submenu.cpp
0035 plugin/systementry.cpp
0036 plugin/systemmodel.cpp
0037 plugin/systemsettings.cpp
0038 plugin/wheelinterceptor.cpp
0039 plugin/windowsystem.cpp
0040 plugin/funnelmodel.cpp
0041 plugin/sectionsmodel.cpp
0042 plugin/kickercompattrianglemousefilter.cpp
0043 ../../components/trianglemousefilter/trianglemousefilter.cpp
0044 )
0045
0046 ecm_qt_declare_logging_category(kickerplugin_SRCS
0047 HEADER debug.h
0048 IDENTIFIER KICKER_DEBUG
0049 CATEGORY_NAME org.kde.plasma.kicker
0050 DESCRIPTION "kicker debug"
0051 EXPORT PLASMAWORKSPACE
0052 )
0053
0054 qt_add_dbus_interface(kickerplugin_SRCS ${CMAKE_SOURCE_DIR}/krunner/dbus/org.kde.krunner.App.xml krunner_interface)
0055 qt_add_dbus_interface(kickerplugin_SRCS ${CMAKE_SOURCE_DIR}/ksmserver/org.kde.KSMServerInterface.xml ksmserver_interface)
0056
0057 install(FILES plugin/qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/kicker)
0058
0059 add_library(kickerplugin SHARED ${kickerplugin_SRCS})
0060
0061 if (BUILD_TESTING)
0062 set_target_properties(kickerplugin PROPERTIES CXX_VISIBILITY_PRESET default)
0063 endif()
0064
0065 target_link_libraries(kickerplugin
0066 Qt::Core
0067 Qt::Qml
0068 Qt::Quick
0069 Plasma::Activities
0070 Plasma::ActivitiesStats
0071 KF6::ConfigCore
0072 KF6::CoreAddons
0073 KF6::I18n
0074 KF6::IconThemes
0075 KF6::ItemModels
0076 KF6::KIOCore
0077 KF6::KIOWidgets
0078 KF6::KIOFileWidgets
0079 KF6::Notifications
0080 Plasma::PlasmaQuick
0081 KF6::Runner
0082 KF6::Service
0083 KF6::WindowSystem
0084 KF6::XmlGui
0085 Plasma::KWaylandClient
0086 PW::KWorkspace)
0087
0088 if (${HAVE_APPSTREAMQT})
0089 target_link_libraries(kickerplugin AppStreamQt)
0090 endif()
0091
0092 if (${HAVE_ICU})
0093 target_link_libraries(kickerplugin ICU::i18n ICU::uc)
0094 target_compile_definitions(kickerplugin PRIVATE "-DHAVE_ICU")
0095 endif()
0096
0097 if (BUILD_TESTING)
0098 add_subdirectory(plugin/autotests)
0099 endif()
0100
0101 install(TARGETS kickerplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/kicker)