Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show All 15 Lines | |||||
16 | ecm_qt_declare_logging_category(kconfigwidgets_SRCS HEADER kconfigwidgets_debug.h IDENTIFIER KCONFIG_WIDGETS_LOG CATEGORY_NAME kf5.kconfigwidgets) | 16 | ecm_qt_declare_logging_category(kconfigwidgets_SRCS HEADER kconfigwidgets_debug.h IDENTIFIER KCONFIG_WIDGETS_LOG CATEGORY_NAME kf5.kconfigwidgets) | ||
17 | if (TARGET Qt5::DBus) | 17 | if (TARGET Qt5::DBus) | ||
18 | list(APPEND kconfigwidgets_SRCS kpastetextaction.cpp) | 18 | list(APPEND kconfigwidgets_SRCS kpastetextaction.cpp) | ||
19 | endif() | 19 | endif() | ||
20 | 20 | | |||
21 | qt5_add_resources(kconfigwidgets_SRCS kconfigwidgets.qrc) | 21 | qt5_add_resources(kconfigwidgets_SRCS kconfigwidgets.qrc) | ||
22 | 22 | | |||
23 | add_library(KF5ConfigWidgets ${kconfigwidgets_SRCS}) | 23 | add_library(KF5ConfigWidgets ${kconfigwidgets_SRCS}) | ||
24 | generate_export_header(KF5ConfigWidgets BASE_NAME KConfigWidgets) | | |||
25 | add_library(KF5::ConfigWidgets ALIAS KF5ConfigWidgets) | 24 | add_library(KF5::ConfigWidgets ALIAS KF5ConfigWidgets) | ||
25 | ecm_generate_export_header(KF5ConfigWidgets | ||||
26 | BASE_NAME KConfigWidgets | ||||
27 | # GROUP_BASE_NAME KF <- enable once all of KF modules use ecm_generate_export_header | ||||
28 | VERSION ${KF5_VERSION} | ||||
29 | DEPRECATED_BASE_VERSION 0 | ||||
30 | DEPRECATION_VERSIONS 4.0 5.0 5.23 5.38 5.39 5.64 | ||||
31 | EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} | ||||
32 | ) | ||||
26 | 33 | | |||
27 | target_include_directories(KF5ConfigWidgets INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KConfigWidgets>") | 34 | target_include_directories(KF5ConfigWidgets INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KConfigWidgets>") | ||
28 | 35 | | |||
29 | target_link_libraries(KF5ConfigWidgets | 36 | target_link_libraries(KF5ConfigWidgets | ||
30 | PUBLIC | 37 | PUBLIC | ||
31 | KF5::Codecs # KCodecActions uses KCharsets, KEncodingProber | 38 | KF5::Codecs # KCodecActions uses KCharsets, KEncodingProber | ||
32 | KF5::WidgetsAddons # For K*Action, KPage*, KViewStateSerializer, KAcceleratorManager, K*GuiItem | 39 | KF5::WidgetsAddons # For K*Action, KPage*, KViewStateSerializer, KAcceleratorManager, K*GuiItem | ||
33 | KF5::ConfigGui # KStandardAction uses KStandardShortcut | 40 | KF5::ConfigGui # KStandardAction uses KStandardShortcut | ||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |