@@ -1,92 +1,92 | |||
|
1 | 1 | !include( ../common.pri ):error( Couldn't find the common.pri file! ) |
|
2 | 2 | TARGET = QtCommercialChart |
|
3 | 3 | DESTDIR = $$CHART_BUILD_LIB_DIR |
|
4 | 4 | TEMPLATE = lib |
|
5 | 5 | QT += core \ |
|
6 | 6 | gui |
|
7 | 7 | CONFIG += debug_and_release |
|
8 | 8 | CONFIG(debug, debug|release):TARGET = QtCommercialChartd |
|
9 | 9 | SOURCES += \ |
|
10 | qchart.cpp \ | |
|
11 | 10 | axisitem.cpp \ |
|
12 | qchartview.cpp \ | |
|
13 | qchartseries.cpp \ | |
|
14 | qchartaxis.cpp \ | |
|
15 | charttheme.cpp \ | |
|
16 | 11 | chartdataset.cpp \ |
|
17 | 12 | chartpresenter.cpp \ |
|
18 | domain.cpp | |
|
13 | charttheme.cpp \ | |
|
14 | domain.cpp \ | |
|
15 | qchart.cpp \ | |
|
16 | qchartaxis.cpp \ | |
|
17 | qchartseries.cpp \ | |
|
18 | qchartview.cpp | |
|
19 | 19 | PRIVATE_HEADERS += \ |
|
20 | 20 | axisitem_p.h \ |
|
21 | chartitem_p.h \ | |
|
22 | charttheme_p.h \ | |
|
23 | 21 | chartdataset_p.h \ |
|
22 | chartitem_p.h \ | |
|
24 | 23 | chartpresenter_p.h \ |
|
24 | charttheme_p.h \ | |
|
25 | 25 | domain_p.h |
|
26 | 26 | PUBLIC_HEADERS += \ |
|
27 | qchartseries.h \ | |
|
28 | 27 | qchart.h \ |
|
28 | qchartaxis.h \ | |
|
29 | 29 | qchartglobal.h \ |
|
30 | qchartseries.h \ | |
|
30 | 31 | qchartview.h \ |
|
31 | qchartaxis.h | |
|
32 | 32 | |
|
33 | 33 | include(linechart/linechart.pri) |
|
34 | 34 | include(barchart/barchart.pri) |
|
35 | 35 | include(piechart/piechart.pri) |
|
36 | 36 | include(scatterseries/scatter.pri) |
|
37 | 37 | |
|
38 | 38 | THEMES += themes/chartthemeicy_p.h \ |
|
39 | 39 | themes/chartthemegrayscale_p.h \ |
|
40 | 40 | themes/chartthemescientific_p.h \ |
|
41 | 41 | themes/chartthemevanilla_p.h |
|
42 | 42 | HEADERS += $$PUBLIC_HEADERS |
|
43 | 43 | HEADERS += $$PRIVATE_HEADERS |
|
44 | 44 | HEADERS += $$THEMES |
|
45 | 45 | INCLUDEPATH += linechart \ |
|
46 | 46 | barchart \ |
|
47 | 47 | themes \ |
|
48 | 48 | . |
|
49 | 49 | OBJECTS_DIR = $$CHART_BUILD_DIR/lib |
|
50 | 50 | MOC_DIR = $$CHART_BUILD_DIR/lib |
|
51 | 51 | UI_DIR = $$CHART_BUILD_DIR/lib |
|
52 | 52 | RCC_DIR = $$CHART_BUILD_DIR/lib |
|
53 | 53 | DEFINES += QTCOMMERCIALCHART_LIBRARY |
|
54 | 54 | public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart |
|
55 | 55 | public_headers.files = $$PUBLIC_HEADERS |
|
56 | 56 | target.path = $$[QT_INSTALL_LIBS] |
|
57 | 57 | INSTALLS += target \ |
|
58 | 58 | public_headers |
|
59 | 59 | install_build_public_headers.name = bild_public_headers |
|
60 | 60 | install_build_public_headers.output = $$CHART_BUILD_PUBLIC_HEADER_DIR/${QMAKE_FILE_BASE}.h |
|
61 | 61 | install_build_public_headers.input = PUBLIC_HEADERS |
|
62 | 62 | install_build_public_headers.commands = $$QMAKE_COPY \ |
|
63 | 63 | ${QMAKE_FILE_NAME} \ |
|
64 | 64 | $$CHART_BUILD_PUBLIC_HEADER_DIR |
|
65 | 65 | install_build_public_headers.CONFIG += target_predeps \ |
|
66 | 66 | no_link |
|
67 | 67 | install_build_private_headers.name = bild_private_headers |
|
68 | 68 | install_build_private_headers.output = $$CHART_BUILD_PRIVATE_HEADER_DIR/${QMAKE_FILE_BASE}.h |
|
69 | 69 | install_build_private_headers.input = PRIVATE_HEADERS |
|
70 | 70 | install_build_private_headers.commands = $$QMAKE_COPY \ |
|
71 | 71 | ${QMAKE_FILE_NAME} \ |
|
72 | 72 | $$CHART_BUILD_PRIVATE_HEADER_DIR |
|
73 | 73 | install_build_private_headers.CONFIG += target_predeps \ |
|
74 | 74 | no_link |
|
75 | 75 | QMAKE_EXTRA_COMPILERS += install_build_public_headers install_build_private_headers |
|
76 | 76 | chartversion.target = qchartversion_p.h |
|
77 | 77 | chartversion.commands = @echo \ |
|
78 | 78 | "build_time" \ |
|
79 | 79 | > \ |
|
80 | 80 | $$chartversion.target; |
|
81 | 81 | chartversion.depends = $$HEADERS \ |
|
82 | 82 | $$SOURCES |
|
83 | 83 | PRE_TARGETDEPS += qchartversion_p.h |
|
84 | 84 | QMAKE_CLEAN += qchartversion_p.h |
|
85 | 85 | QMAKE_EXTRA_TARGETS += chartversion |
|
86 | 86 | unix:QMAKE_DISTCLEAN += -r \ |
|
87 | 87 | $$CHART_BUILD_HEADER_DIR \ |
|
88 | 88 | $$CHART_BUILD_LIB_DIR |
|
89 | 89 | win32:QMAKE_DISTCLEAN += /Q \ |
|
90 | 90 | $$CHART_BUILD_HEADER_DIR \ |
|
91 | 91 | $$CHART_BUILD_LIB_DIR |
|
92 | 92 |
General Comments 0
You need to be logged in to leave comments.
Login now