Changeset View
Changeset View
Standalone View
Standalone View
discover/CMakeLists.txt
1 | add_subdirectory(icons) | 1 | add_subdirectory(icons) | ||
---|---|---|---|---|---|
2 | if(BUILD_TESTING) | 2 | if(BUILD_TESTING) | ||
3 | add_subdirectory(autotests) | 3 | add_subdirectory(autotests) | ||
4 | endif() | 4 | endif() | ||
5 | 5 | | |||
6 | include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/..) | 6 | include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/..) | ||
7 | 7 | | |||
8 | ecm_qt_declare_logging_category(plasma_discover_SRCS HEADER discover_debug.h IDENTIFIER DISCOVER_LOG CATEGORY_NAME org.kde.plasma.discover) | 8 | ecm_qt_declare_logging_category(plasma_discover_SRCS HEADER discover_debug.h IDENTIFIER DISCOVER_LOG CATEGORY_NAME org.kde.plasma.discover) | ||
9 | kconfig_add_kcfg_files(plasma_discover_SRCS discoversettings.kcfgc GENERATE_MOC) | 9 | kconfig_add_kcfg_files(plasma_discover_SRCS discoversettings.kcfgc plasmauserfeedback.kcfgc GENERATE_MOC) | ||
10 | 10 | | |||
11 | add_executable(plasma-discover ${plasma_discover_SRCS} | 11 | add_executable(plasma-discover ${plasma_discover_SRCS} | ||
12 | main.cpp | 12 | main.cpp | ||
13 | DiscoverObject.cpp | 13 | DiscoverObject.cpp | ||
14 | DiscoverDeclarativePlugin.cpp | 14 | DiscoverDeclarativePlugin.cpp | ||
15 | 15 | | |||
16 | FeaturedModel.cpp | 16 | FeaturedModel.cpp | ||
17 | PaginateModel.cpp | 17 | PaginateModel.cpp | ||
Show All 11 Lines | 27 | target_link_libraries(plasma-discover PUBLIC | |||
29 | KF5::DBusAddons | 29 | KF5::DBusAddons | ||
30 | KF5::I18n | 30 | KF5::I18n | ||
31 | KF5::XmlGui | 31 | KF5::XmlGui | ||
32 | KF5::ItemModels | 32 | KF5::ItemModels | ||
33 | KF5::KIOWidgets | 33 | KF5::KIOWidgets | ||
34 | KF5::QuickAddons | 34 | KF5::QuickAddons | ||
35 | Qt5::Quick | 35 | Qt5::Quick | ||
36 | Discover::Common | 36 | Discover::Common | ||
37 | KUserFeedbackCore | ||||
37 | ) | 38 | ) | ||
38 | 39 | | |||
39 | install(TARGETS plasma-discover ${INSTALL_TARGETS_DEFAULT_ARGS}) | 40 | install(TARGETS plasma-discover ${INSTALL_TARGETS_DEFAULT_ARGS}) | ||
40 | 41 | | |||
41 | # if (BUILD_DummyBackend) | 42 | # if (BUILD_DummyBackend) | ||
42 | # target_compile_definitions(plasma-discover PRIVATE $<$<CONFIG:Debug>:QT_QML_DEBUG=1>) | 43 | # target_compile_definitions(plasma-discover PRIVATE $<$<CONFIG:Debug>:QT_QML_DEBUG=1>) | ||
43 | # endif() | 44 | # endif() | ||
44 | 45 | | |||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |