Warning, /frameworks/kquickcharts/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 add_library(QuickChartsStatic STATIC) 0003 set_target_properties(QuickChartsStatic PROPERTIES POSITION_INDEPENDENT_CODE ON) 0004 0005 target_sources(QuickChartsStatic PRIVATE 0006 BarChart.cpp 0007 BarChart.h 0008 Chart.cpp 0009 Chart.h 0010 datasource/ArraySource.cpp 0011 datasource/ArraySource.h 0012 datasource/ChartAxisSource.cpp 0013 datasource/ChartAxisSource.h 0014 datasource/ChartDataSource.cpp 0015 datasource/ChartDataSource.h 0016 datasource/ColorGradientSource.cpp 0017 datasource/ColorGradientSource.h 0018 datasource/HistoryProxySource.cpp 0019 datasource/HistoryProxySource.h 0020 datasource/MapProxySource.cpp 0021 datasource/MapProxySource.h 0022 datasource/ModelHistorySource.cpp 0023 datasource/ModelHistorySource.h 0024 datasource/ModelSource.cpp 0025 datasource/ModelSource.h 0026 datasource/SingleValueSource.cpp 0027 datasource/SingleValueSource.h 0028 datasource/ValueHistorySource.cpp 0029 datasource/ValueHistorySource.h 0030 decorations/AxisLabels.cpp 0031 decorations/AxisLabels.h 0032 decorations/GridLines.cpp 0033 decorations/GridLines.h 0034 decorations/LegendLayout.cpp 0035 decorations/LegendLayout.h 0036 decorations/LegendModel.cpp 0037 decorations/LegendModel.h 0038 ItemBuilder.cpp 0039 ItemBuilder.h 0040 LineChart.cpp 0041 LineChart.h 0042 PieChart.cpp 0043 PieChart.h 0044 QmlDeprecated.h 0045 RangeGroup.cpp 0046 RangeGroup.h 0047 scenegraph/BarChartMaterial.cpp 0048 scenegraph/BarChartMaterial.h 0049 scenegraph/BarChartNode.cpp 0050 scenegraph/BarChartNode.h 0051 scenegraph/LineChartMaterial.cpp 0052 scenegraph/LineChartMaterial.h 0053 scenegraph/LineChartNode.cpp 0054 scenegraph/LineChartNode.h 0055 scenegraph/LineGridNode.cpp 0056 scenegraph/LineGridNode.h 0057 scenegraph/LineSegmentNode.cpp 0058 scenegraph/LineSegmentNode.h 0059 scenegraph/PieChartMaterial.cpp 0060 scenegraph/PieChartMaterial.h 0061 scenegraph/PieChartNode.cpp 0062 scenegraph/PieChartNode.h 0063 scenegraph/SDFShader.cpp 0064 scenegraph/SDFShader.h 0065 XYChart.cpp 0066 XYChart.h 0067 0068 shaders/shaders.qrc 0069 ) 0070 0071 ecm_qt_declare_logging_category(QuickChartsStatic 0072 HEADER charts_general_logging.h 0073 IDENTIFIER GENERAL 0074 CATEGORY_NAME kf.quickcharts.general 0075 DEFAULT_SEVERITY Warning 0076 DESCRIPTION "KQuickCharts Library - General" 0077 EXPORT KQuickCharts 0078 ) 0079 0080 ecm_qt_declare_logging_category(QuickChartsStatic 0081 HEADER charts_datasource_logging.h 0082 IDENTIFIER DATASOURCE 0083 CATEGORY_NAME kf.quickcharts.datasource 0084 DEFAULT_SEVERITY Warning 0085 DESCRIPTION "KQuickCharts Library - Data Sources" 0086 EXPORT KQuickCharts 0087 ) 0088 0089 ecm_qt_declare_logging_category(QuickChartsStatic 0090 HEADER charts_deprecated_logging.h 0091 IDENTIFIER DEPRECATED 0092 CATEGORY_NAME kf.quickcharts.deprecated 0093 DEFAULT_SEVERITY Warning 0094 DESCRIPTION "KQuickCharts Library - Deprecated API" 0095 EXPORT KQuickCharts 0096 ) 0097 0098 target_link_libraries(QuickChartsStatic PUBLIC 0099 Qt${QT_MAJOR_VERSION}::Core 0100 Qt${QT_MAJOR_VERSION}::Quick 0101 Qt${QT_MAJOR_VERSION}::Qml 0102 Qt${QT_MAJOR_VERSION}::Quick 0103 ) 0104 0105 ecm_add_qml_module(QuickCharts URI "org.kde.quickcharts" CLASSNAME QuickChartsPlugin) 0106 0107 target_sources(QuickCharts PRIVATE ChartsPlugin.cpp ChartsPlugin.h) 0108 target_link_libraries(QuickCharts PRIVATE QuickChartsStatic) 0109 if (QT_MAJOR_VERSION EQUAL "6") 0110 add_subdirectory(shaders6) 0111 endif() 0112 0113 ecm_generate_export_header(QuickCharts 0114 BASE_NAME QuickCharts 0115 GROUP_BASE_NAME KF 0116 VERSION ${KF_VERSION} 0117 DEPRECATED_BASE_VERSION 0 0118 DEPRECATION_VERSIONS 5.78 0119 EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} 0120 ) 0121 0122 ecm_finalize_qml_module(QuickCharts DESTINATION ${KDE_INSTALL_QMLDIR}) 0123 0124 ecm_qt_install_logging_categories(EXPORT KQuickCharts DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR})