Changeset View
Changeset View
Standalone View
Standalone View
src/lib/CMakeLists.txt
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | |||||
110 | ) | 110 | ) | ||
111 | 111 | | |||
112 | ecm_qt_declare_logging_category(libkcoreaddons_SRCS | 112 | ecm_qt_declare_logging_category(libkcoreaddons_SRCS | ||
113 | HEADER kcoreaddons_debug.h | 113 | HEADER kcoreaddons_debug.h | ||
114 | IDENTIFIER KCOREADDONS_DEBUG | 114 | IDENTIFIER KCOREADDONS_DEBUG | ||
115 | CATEGORY_NAME org.kde.kcoreaddons) | 115 | CATEGORY_NAME org.kde.kcoreaddons) | ||
116 | 116 | | |||
117 | add_library(KF5CoreAddons ${libkcoreaddons_SRCS}) | 117 | add_library(KF5CoreAddons ${libkcoreaddons_SRCS}) | ||
118 | generate_export_header(KF5CoreAddons BASE_NAME KCoreAddons) | | |||
119 | add_library(KF5::CoreAddons ALIAS KF5CoreAddons) | 118 | add_library(KF5::CoreAddons ALIAS KF5CoreAddons) | ||
119 | ecm_generate_export_header(KF5CoreAddons | ||||
120 | BASE_NAME KCoreAddons | ||||
121 | GROUP_BASE_NAME KF | ||||
122 | VERSION ${KF5_VERSION} | ||||
123 | DEPRECATION_VERSIONS 4.0 5.0 5.2 | ||||
124 | EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} | ||||
125 | ) | ||||
120 | 126 | | |||
121 | target_include_directories(KF5CoreAddons PUBLIC "$<BUILD_INTERFACE:${kcoreaddons_INCLUDE_DIRS}>") | 127 | target_include_directories(KF5CoreAddons PUBLIC "$<BUILD_INTERFACE:${kcoreaddons_INCLUDE_DIRS}>") | ||
122 | 128 | | |||
123 | target_link_libraries(KF5CoreAddons | 129 | target_link_libraries(KF5CoreAddons | ||
124 | PUBLIC | 130 | PUBLIC | ||
125 | Qt5::Core | 131 | Qt5::Core | ||
126 | PRIVATE | 132 | PRIVATE | ||
127 | ${kcoreaddons_OPTIONAL_LIBS} | 133 | ${kcoreaddons_OPTIONAL_LIBS} | ||
▲ Show 20 Lines • Show All 169 Lines • Show Last 20 Lines |