##// END OF EJS Templates
minor.
Michal Klocek -
r35:908c0add2a55
parent child
Show More
@@ -1,72 +1,72
1 1 !include( ../common.pri ) {
2 2 error( Couldn't find the common.pri file! )
3 3 }
4 4
5 5
6 6 TARGET = QtCommercialChart
7 7 DESTDIR = $$CHART_BUILD_LIB_DIR
8 8 TEMPLATE = lib
9 9 QT += core \
10 10 gui
11 CONFIG -= internal_build
11
12 12 CONFIG += debug_and_release
13 13 CONFIG(debug, debug|release):TARGET = QtCommercialChartd
14 14
15 15 SOURCES += \
16 16 xylinechart/qxychartseries.cpp \
17 17 xylinechart/xylinechartitem.cpp \
18 18 xylinechart/xygrid.cpp \
19 19 xylinechart/xyplotdomain.cpp \
20 20 qchart.cpp \
21 21 axis.cpp \
22 22 qchartwidget.cpp
23 23
24 24 PRIVATE_HEADERS += \
25 25 xylinechart/xylinechartitem_p.h \
26 26 xylinechart/xyplotdomain_p.h \
27 27 xylinechart/xygrid_p.h \
28 28 axis_p.h
29 29
30 30 PUBLIC_HEADERS += \
31 31 qchartseries.h \
32 32 qchart.h \
33 33 qchartwidget.h \
34 34 qchartglobal.h \
35 35 xylinechart/qxychartseries.h
36 36
37 37 HEADERS += $$PUBLIC_HEADERS
38 38 HEADERS += $$PRIVATE_HEADERS
39 39
40 40 INCLUDEPATH += xylinechart \
41 41 .
42 42
43 43 OBJECTS_DIR = $$CHART_BUILD_DIR/lib
44 44 MOC_DIR = $$CHART_BUILD_DIR/lib
45 45 UI_DIR = $$CHART_BUILD_DIR/lib
46 46 RCC_DIR = $$CHART_BUILD_DIR/lib
47 47
48 48
49 49 DEFINES += QTCOMMERCIALCHART_LIBRARY
50 50
51 51 public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart
52 52 public_headers.files = $$PUBLIC_HEADERS
53 53 target.path = $$[QT_INSTALL_LIBS]
54 54 INSTALLS += target \
55 55 public_headers
56 56
57 57
58 58 install_build_headers.name = bild_headers
59 59 install_build_headers.output = $$CHART_BUILD_HEADER_DIR/${QMAKE_FILE_BASE}.h
60 60 install_build_headers.input = PUBLIC_HEADERS
61 61 install_build_headers.commands = $$QMAKE_COPY ${QMAKE_FILE_NAME} $$CHART_BUILD_HEADER_DIR
62 62 install_build_headers.CONFIG += target_predeps no_link
63 63 QMAKE_EXTRA_COMPILERS += install_build_headers
64 64
65 65 chartversion.target = qchartversion_p.h
66 66 chartversion.commands = @echo "build_time" > $$chartversion.target;
67 67 chartversion.depends = $$HEADERS $$SOURCES
68 68 PRE_TARGETDEPS += qchartversion_p.h
69 69 QMAKE_CLEAN+= qchartversion_p.h
70 70 QMAKE_EXTRA_TARGETS += chartversion
71 71
72 72 QMAKE_DISTCLEAN += -r $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now