cmake update

make examples, playground and tests buildable
This commit is contained in:
2026-01-03 20:03:07 +01:00
parent dec98086e6
commit 0040196561
23 changed files with 104 additions and 2661 deletions

View File

@@ -1,204 +0,0 @@
################################################################
# Qwt Widget Library
# Copyright (C) 1997 Josef Wilgen
# Copyright (C) 2002 Uwe Rathmann
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the Qwt License, Version 1.0
################################################################
TEMPLATE = subdirs
QWT_ROOT = $${PWD}/..
include( $${QWT_ROOT}/qwtconfig.pri )
include( $${QWT_ROOT}/qwtbuild.pri )
include( $${QWT_ROOT}/qwtfunctions.pri )
CLASSHEADERS = \
QwtAbstractScaleDraw \
QwtAlphaColorMap \
QwtAxis \
QwtAxisId \
QwtBezier \
QwtClipper \
QwtColorMap \
QwtColumnRect \
QwtColumnSymbol \
QwtDate \
QwtDateScaleDraw \
QwtDateScaleEngine \
QwtDynGridLayout \
QwtGlobal \
QwtGraphic \
QwtHueColorMap \
QwtInterval \
QwtIntervalSymbol \
QwtLinearColorMap \
QwtLinearScaleEngine \
QwtLogScaleEngine \
QwtLogTransform \
QwtMagnifier \
QwtMath \
QwtNullPaintDevice \
QwtNullTransform \
QwtPainter \
QwtPainterCommand \
QwtPanner \
QwtPicker \
QwtPickerClickPointMachine \
QwtPickerClickRectMachine \
QwtPickerDragLineMachine \
QwtPickerDragPointMachine \
QwtPickerDragRectMachine \
QwtPickerMachine \
QwtPickerPolygonMachine \
QwtPickerTrackerMachine \
QwtPixelMatrix \
QwtPlainTextEngine \
QwtPoint3D \
QwtPointPolar \
QwtPowerTransform \
QwtRichTextEngine \
QwtRoundScaleDraw \
QwtSaturationValueColorMap \
QwtScaleArithmetic \
QwtScaleDiv \
QwtScaleDraw \
QwtScaleEngine \
QwtScaleMap \
QwtSimpleCompassRose \
QwtSplineBasis \
QwtSpline \
QwtSplineC1 \
QwtSplineC2 \
QwtSplineCubic \
QwtSplineG1 \
QwtSplineInterpolating \
QwtSplineLocal \
QwtSplineParameter \
QwtSplineParametrization \
QwtSplinePleasing \
QwtSplinePolynomial \
QwtSymbol \
QwtSystemClock \
QwtText \
QwtTextEngine \
QwtTextLabel \
QwtTransform \
QwtWidgetOverlay
contains(QWT_CONFIG, QwtPlot) {
CLASSHEADERS += \
QwtAbstractLegend \
QwtCurveFitter \
QwtEventPattern \
QwtIntervalSample \
QwtLegend \
QwtLegendData \
QwtLegendLabel \
QwtPointMapper \
QwtMatrixRasterData \
QwtOHLCSample \
QwtPlot \
QwtPlotAbstractBarChart \
QwtPlotAbstractCanvas \
QwtPlotBarChart \
QwtPlotCanvas \
QwtPlotCurve \
QwtPlotDict \
QwtPlotDirectPainter \
QwtPlotGraphicItem \
QwtPlotGrid \
QwtPlotHistogram \
QwtPlotIntervalCurve \
QwtPlotItem \
QwtPlotLayout \
QwtPlotLegendItem \
QwtPlotMagnifier \
QwtPlotMarker \
QwtPlotMultiBarChart \
QwtPlotPanner \
QwtPlotPicker \
QwtPlotRasterItem \
QwtPlotRenderer \
QwtPlotRescaler \
QwtPlotScaleItem \
QwtPlotSeriesItem \
QwtPlotShapeItem \
QwtPlotSpectroCurve \
QwtPlotSpectrogram \
QwtPlotTextLabel \
QwtPlotTradingCurve \
QwtPlotVectorField \
QwtPlotZoneItem \
QwtPlotZoomer \
QwtScaleWidget \
QwtRasterData \
QwtSeriesData \
QwtSetSample \
QwtSamplingThread \
QwtSplineCurveFitter \
QwtWeedingCurveFitter \
QwtIntervalSeriesData \
QwtPoint3DSeriesData \
QwtPointSeriesData \
QwtSetSeriesData \
QwtSyntheticPointData \
QwtPointArrayData \
QwtTradingChartData \
QwtVectorFieldSymbol \
QwtVectorFieldArrow \
QwtVectorFieldThinArrow \
QwtVectorFieldData \
QwtVectorFieldSample \
QwtCPointerData
}
contains(QWT_CONFIG, QwtOpenGL) {
CLASSHEADERS += \
QwtPlotGLCanvas
greaterThan(QT_MAJOR_VERSION, 4) {
greaterThan(QT_MINOR_VERSION, 3) {
CLASSHEADERS += \
QwtPlotOpenGLCanvas
}
}
}
contains(QWT_CONFIG, QwtWidgets) {
CLASSHEADERS += \
QwtAbstractSlider \
QwtAbstractScale \
QwtArrowButton \
QwtAnalogClock \
QwtCompass \
QwtCompassMagnetNeedle \
QwtCompassRose \
QwtCompassScaleDraw \
QwtCompassWindArrow \
QwtCounter \
QwtDial \
QwtDialNeedle \
QwtDialSimpleNeedle \
QwtKnob \
QwtSlider \
QwtThermo \
QwtWheel
}
contains(QWT_CONFIG, QwtSvg) {
CLASSHEADERS += \
QwtPlotSvgItem
}
target.path = $${QWT_INSTALL_HEADERS}
target.files = $${CLASSHEADERS}
INSTALLS = target