Warning, /frameworks/kuserfeedback/src/provider/core/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ecm_create_qm_loader(userfeedback_core_QM_LOADER userfeedbackprovider6_qt)
0002
0003 ecm_qt_declare_logging_category(userfeedback_core_debug_srcs
0004 HEADER logging_p.h
0005 IDENTIFIER KUserFeedback::Log
0006 CATEGORY_NAME org.kde.UserFeedback
0007 DESCRIPTION "User Feedback Framework" EXPORT KUSERFEEDBACK)
0008
0009 set(userfeedback_core_srcs
0010 abstractdatasource.cpp
0011 applicationversionsource.cpp
0012 compilerinfosource.cpp
0013 cpuinfosource.cpp
0014 feedbackconfiguicontroller.cpp
0015 localeinfosource.cpp
0016 openglinfosource.cpp
0017 platforminfosource.cpp
0018 propertyratiosource.cpp
0019 provider.cpp
0020 qpainfosource.cpp
0021 qtversionsource.cpp
0022 screeninfosource.cpp
0023 selectionratiosource.cpp
0024 startcountsource.cpp
0025 surveyinfo.cpp
0026 usagetimesource.cpp
0027 auditloguicontroller.cpp
0028
0029 abstractdatasource.h
0030 applicationversionsource.h
0031 compilerinfosource.h
0032 cpuinfosource.h
0033 feedbackconfiguicontroller.h
0034 localeinfosource.h
0035 openglinfosource.h
0036 platforminfosource.h
0037 propertyratiosource.h
0038 provider.h
0039 qpainfosource.h
0040 qtversionsource.h
0041 screeninfosource.h
0042 selectionratiosource.h
0043 startcountsource.h
0044 surveyinfo.h
0045 usagetimesource.h
0046 auditloguicontroller.h
0047 ${userfeedback_core_QM_LOADER}
0048 ${userfeedback_core_debug_srcs}
0049 )
0050
0051
0052
0053 add_library(KF6UserFeedbackCore ${userfeedback_core_srcs})
0054 add_library(KF6::UserFeedbackCore ALIAS KF6UserFeedbackCore)
0055
0056 set_target_properties(KF6UserFeedbackCore PROPERTIES
0057 SOVERSION ${KUSERFEEDBACK_SOVERSION}
0058 VERSION ${KUSERFEEDBACK_VERSION}
0059 EXPORT_NAME UserFeedbackCore
0060 )
0061 generate_export_header(KF6UserFeedbackCore BASE_NAME KUserFeedbackCore)
0062
0063 target_link_libraries(KF6UserFeedbackCore PUBLIC Qt6::Core PRIVATE Qt6::Gui Qt6::Network)
0064 if(ANDROID)
0065 target_link_libraries(KF6UserFeedbackCore PRIVATE GLESv2)
0066 endif()
0067 target_compile_definitions(KF6UserFeedbackCore PRIVATE QT_DISABLE_DEPRECATED_BEFORE=0x050300)
0068 target_link_libraries(KF6UserFeedbackCore PRIVATE KF6UserFeedbackCommon)
0069 target_include_directories(KF6UserFeedbackCore PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR}>")
0070 target_include_directories(KF6UserFeedbackCore INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KUserFeedback;${KDE_INSTALL_INCLUDEDIR}>"
0071 "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KUserFeedbackCore;${KDE_INSTALL_INCLUDEDIR}>"
0072 )
0073
0074 ecm_generate_headers(KUserFeedbackCore_CamelCase_HEADERS
0075 HEADER_NAMES
0076 AbstractDataSource
0077 ApplicationVersionSource
0078 CompilerInfoSource
0079 CpuInfoSource
0080 LocaleInfoSource
0081 OpenGLInfoSource
0082 PlatformInfoSource
0083 PropertyRatioSource
0084 Provider
0085 QPAInfoSource
0086 QtVersionSource
0087 ScreenInfoSource
0088 StartCountSource
0089 SurveyInfo
0090 UsageTimeSource
0091 FeedbackConfigUiController
0092 PREFIX KUserFeedback
0093 REQUIRED_HEADERS KUserFeedbackCore_HEADERS
0094 )
0095
0096 install(TARGETS KF6UserFeedbackCore EXPORT KF6UserFeedbackTargets ${KF_INSTALL_TARGETS_DEFAULT_ARGS})
0097
0098 install(FILES
0099 ${CMAKE_CURRENT_BINARY_DIR}/kuserfeedbackcore_export.h
0100 DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KUserFeedbackCore
0101 COMPONENT Devel
0102 )
0103
0104 install(FILES
0105 ${KUserFeedbackCore_HEADERS}
0106 DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KUserFeedbackCore/kuserfeedback
0107 COMPONENT Devel
0108 )
0109
0110 install(FILES
0111 ${KUserFeedbackCore_CamelCase_HEADERS}
0112 DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KUserFeedbackCore/KUserFeedback/
0113 COMPONENT Devel
0114 )
0115
0116 ecm_generate_pri_file(BASE_NAME KF6UserFeedbackCore
0117 LIB_NAME KF6UserFeedbackCore
0118 DEPS "core network"
0119 FILENAME_VAR PRI_FILENAME
0120 )
0121
0122 install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR})