/
qcp-staticlib.pro
133 lines (126 loc) · 3.74 KB
/
qcp-staticlib.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#
# Project to compile QCustomPlot as static library (.a/.lib) from the non-amalgamated sources
#
# It creates two static library files: qcustomplot and qcustomplotd, for release and debug mode respectively.
# If you want to be able to step into QCustomPlot code in your debug-mode-application, link with qcustomplotd.
# If compiling your application in release mode, you should link with qcustomplot.
#
# In your project's HEADERS, you may use either the amalgamated header qcustomplot.h or all separated headers.
# (note that qmake understands "*.h" if you choose the latter option.)
#
QT += core gui opengl quick
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
TEMPLATE = lib
CONFIG += qt staticlib debug_and_release build_all
DEFINES += QCUSTOMPLOT_USE_OPENGL
VERSION = 2.0.0
TARGET = qcustomplot
CONFIG(debug, debug|release) {
TARGET = $$join(TARGET,,,d) # if compiling in debug mode, append a "d" to the library name
MOC_DIR = build-debug
OBJECTS_DIR = build-debug
} else {
MOC_DIR = build-release
OBJECTS_DIR = build-release
}
HEADERS += \
global.h \
painter.h \
paintbuffer.h \
layer.h \
axis/range.h \
axis/axis.h \
axis/axisticker.h \
plottable.h \
item.h \
lineending.h \
core.h \
layout.h \
plottables/plottable-graph.h \
plottables/plottable-curve.h \
plottables/plottable-bars.h \
plottables/plottable-statisticalbox.h \
plottables/plottable-colormap.h \
plottables/plottable-financial.h \
plottables/plottable-errorbar.h \
items/item-straightline.h \
items/item-line.h \
items/item-curve.h \
items/item-rect.h \
items/item-text.h \
items/item-ellipse.h \
items/item-pixmap.h \
items/item-tracer.h \
items/item-bracket.h \
layoutelements/layoutelement-axisrect.h \
layoutelements/layoutelement-legend.h \
layoutelements/layoutelement-textelement.h \
layoutelements/layoutelement-colorscale.h \
colorgradient.h \
vector2d.h \
axis/axistickerdatetime.h \
axis/axistickertime.h \
axis/axistickerfixed.h \
axis/axistickertext.h \
axis/axistickerpi.h \
axis/axistickerlog.h \
datacontainer.h \
selection.h \
selectionrect.h \
plottable1d.h \
scatterstyle.h \
selectiondecorator-bracket.h
SOURCES += \
painter.cpp \
paintbuffer.cpp \
layer.cpp \
axis/range.cpp \
axis/axis.cpp \
axis/axisticker.cpp \
plottable.cpp \
item.cpp \
lineending.cpp \
core.cpp \
layout.cpp \
plottables/plottable-graph.cpp \
plottables/plottable-curve.cpp \
plottables/plottable-bars.cpp \
plottables/plottable-statisticalbox.cpp \
plottables/plottable-colormap.cpp \
plottables/plottable-financial.cpp \
plottables/plottable-errorbar.cpp \
items/item-straightline.cpp \
items/item-line.cpp \
items/item-curve.cpp \
items/item-rect.cpp \
items/item-text.cpp \
items/item-ellipse.cpp \
items/item-pixmap.cpp \
items/item-tracer.cpp \
items/item-bracket.cpp \
layoutelements/layoutelement-axisrect.cpp \
layoutelements/layoutelement-legend.cpp \
layoutelements/layoutelement-textelement.cpp \
layoutelements/layoutelement-colorscale.cpp \
colorgradient.cpp \
vector2d.cpp \
axis/axistickerdatetime.cpp \
axis/axistickertime.cpp \
axis/axistickerfixed.cpp \
axis/axistickertext.cpp \
axis/axistickerpi.cpp \
axis/axistickerlog.cpp \
datacontainer.cpp \
selection.cpp \
selectionrect.cpp \
plottable1d.cpp \
scatterstyle.cpp \
selectiondecorator-bracket.cpp
OTHER_FILES += \
../changelog.txt \
doc-classoverview.dox \
doc-layoutsystem.dox \
doc-mainpage.dox \
doc-specialqtflags.dox \
doc-performance.dox \
doc-dataselection.dox