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