summaryrefslogtreecommitdiffstats
path: root/examples/charts
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-14 17:52:34 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-12-15 12:51:49 +0000
commit6f102ea2fa6f3be4704205af88b8e802f63036ed (patch)
tree9fa5ed4edc3cfbc4929d3dae3943d9e173cb15d6 /examples/charts
parentce93b3009c877ed58e31c13458eaa9294eb3453a (diff)
Switch examples to build as isolated sub-builds
Task-number: QTBUG-90820 Change-Id: I4d45b7077c3fce53ced2661326ba85a488b0b5d2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 244347779c48b2f95e882463568c59961052d6c1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/charts')
-rw-r--r--examples/charts/CMakeLists.txt102
1 files changed, 51 insertions, 51 deletions
diff --git a/examples/charts/CMakeLists.txt b/examples/charts/CMakeLists.txt
index 45e3f577..55ec96b7 100644
--- a/examples/charts/CMakeLists.txt
+++ b/examples/charts/CMakeLists.txt
@@ -1,88 +1,88 @@
# Generated from charts.pro.
if(QT_FEATURE_charts_area_chart)
- add_subdirectory(areachart)
+ qt_internal_add_example(areachart)
endif()
if(QT_FEATURE_charts_line_chart)
- add_subdirectory(callout)
- add_subdirectory(chartinteractions)
- add_subdirectory(customchart)
- add_subdirectory(linechart)
- add_subdirectory(lineandbar)
- add_subdirectory(legendmarkers)
- add_subdirectory(logvalueaxis)
- add_subdirectory(modeldata)
- add_subdirectory(zoomlinechart)
+ qt_internal_add_example(callout)
+ qt_internal_add_example(chartinteractions)
+ qt_internal_add_example(customchart)
+ qt_internal_add_example(linechart)
+ qt_internal_add_example(lineandbar)
+ qt_internal_add_example(legendmarkers)
+ qt_internal_add_example(logvalueaxis)
+ qt_internal_add_example(modeldata)
+ qt_internal_add_example(zoomlinechart)
endif()
if(QT_FEATURE_charts_spline_chart)
- add_subdirectory(dynamicspline)
- add_subdirectory(multiaxis)
- add_subdirectory(splinechart)
- add_subdirectory(pointsselectionandmarkers)
+ qt_internal_add_example(dynamicspline)
+ qt_internal_add_example(multiaxis)
+ qt_internal_add_example(splinechart)
+ qt_internal_add_example(pointsselectionandmarkers)
endif()
if(QT_FEATURE_charts_area_chart AND QT_FEATURE_charts_spline_chart)
- add_subdirectory(chartthemes)
- add_subdirectory(polarchart)
+ qt_internal_add_example(chartthemes)
+ qt_internal_add_example(polarchart)
endif()
if(QT_FEATURE_charts_bar_chart)
- add_subdirectory(barchart)
- add_subdirectory(barmodelmapper)
- add_subdirectory(horizontalbarchart)
- add_subdirectory(horizontalpercentbarchart)
- add_subdirectory(horizontalstackedbarchart)
- add_subdirectory(stackedbarchart)
- add_subdirectory(stackedbarchartdrilldown)
- add_subdirectory(percentbarchart)
- add_subdirectory(legend)
- add_subdirectory(temperaturerecords)
- add_subdirectory(selectedbar)
+ qt_internal_add_example(barchart)
+ qt_internal_add_example(barmodelmapper)
+ qt_internal_add_example(horizontalbarchart)
+ qt_internal_add_example(horizontalpercentbarchart)
+ qt_internal_add_example(horizontalstackedbarchart)
+ qt_internal_add_example(stackedbarchart)
+ qt_internal_add_example(stackedbarchartdrilldown)
+ qt_internal_add_example(percentbarchart)
+ qt_internal_add_example(legend)
+ qt_internal_add_example(temperaturerecords)
+ qt_internal_add_example(selectedbar)
endif()
if(QT_FEATURE_charts_pie_chart)
- add_subdirectory(donutchart)
- add_subdirectory(donutbreakdown)
- add_subdirectory(nesteddonuts)
- add_subdirectory(piechart)
- add_subdirectory(piechartcustomization)
- add_subdirectory(piechartdrilldown)
+ qt_internal_add_example(donutchart)
+ qt_internal_add_example(donutbreakdown)
+ qt_internal_add_example(nesteddonuts)
+ qt_internal_add_example(piechart)
+ qt_internal_add_example(piechartcustomization)
+ qt_internal_add_example(piechartdrilldown)
endif()
if(QT_FEATURE_charts_pie_chart AND TARGET Qt::Quick)
- add_subdirectory(qmlpiechart)
+ qt_internal_add_example(qmlpiechart)
endif()
if(QT_FEATURE_charts_boxplot_chart)
- add_subdirectory(boxplotchart)
+ qt_internal_add_example(boxplotchart)
endif()
if(QT_FEATURE_charts_boxplot_chart AND TARGET Qt::Quick)
- add_subdirectory(qmlboxplot)
+ qt_internal_add_example(qmlboxplot)
endif()
if(QT_FEATURE_charts_candlestick_chart)
- add_subdirectory(candlestickchart)
+ qt_internal_add_example(candlestickchart)
endif()
if(QT_FEATURE_charts_candlestick_chart AND TARGET Qt::Quick)
- add_subdirectory(qmlcandlestick)
+ qt_internal_add_example(qmlcandlestick)
endif()
if(QT_FEATURE_charts_scatter_chart)
- add_subdirectory(scatterchart)
- add_subdirectory(scatterinteractions)
+ qt_internal_add_example(scatterchart)
+ qt_internal_add_example(scatterinteractions)
endif()
if(TARGET Qt::Quick)
- add_subdirectory(qmlchart)
- add_subdirectory(qmlcustomizations)
- add_subdirectory(qmlcustomlegend)
- add_subdirectory(qmlf1legends)
- add_subdirectory(qmloscilloscope)
- add_subdirectory(qmlweather)
+ qt_internal_add_example(qmlchart)
+ qt_internal_add_example(qmlcustomizations)
+ qt_internal_add_example(qmlcustomlegend)
+ qt_internal_add_example(qmlf1legends)
+ qt_internal_add_example(qmloscilloscope)
+ qt_internal_add_example(qmlweather)
endif()
if(TARGET Qt::Multimedia)
# TODO: this never gets compiled : missing find_pacakge
- # add_subdirectory(audio) // QTBUG-94181
+ # qt_internal_add_example(audio) // QTBUG-94181
endif()
if(QT_FEATURE_opengl)
- add_subdirectory(openglseries)
+ qt_internal_add_example(openglseries)
endif()
if(QT_FEATURE_charts_datetime_axis)
- add_subdirectory(datetimeaxis)
+ qt_internal_add_example(datetimeaxis)
endif()
if(QT_FEATURE_charts_datetime_axis AND TARGET Qt::Quick)
- add_subdirectory(qmlaxes)
- add_subdirectory(qmlpolarchart)
+ qt_internal_add_example(qmlaxes)
+ qt_internal_add_example(qmlpolarchart)
endif()