##// END OF EJS Templates
fix CRLF in src.pro
Michal Klocek -
r36:806dafc86d1e
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 TARGET = QtCommercialChart
6 TARGET = QtCommercialChart
7 7 DESTDIR = $$CHART_BUILD_LIB_DIR
8 TEMPLATE = lib
9 QT += core \
10 gui
8 TEMPLATE = lib
9 QT += core \
10 gui
11
12 CONFIG += debug_and_release
13 CONFIG(debug, debug|release):TARGET = QtCommercialChartd
14
15 SOURCES += \
16 xylinechart/qxychartseries.cpp \
17 xylinechart/xylinechartitem.cpp \
18 xylinechart/xygrid.cpp \
19 xylinechart/xyplotdomain.cpp \
20 qchart.cpp \
21 axis.cpp \
22 qchartwidget.cpp
23
24 PRIVATE_HEADERS += \
25 xylinechart/xylinechartitem_p.h \
26 xylinechart/xyplotdomain_p.h \
27 xylinechart/xygrid_p.h \
28 axis_p.h
29
30 PUBLIC_HEADERS += \
31 qchartseries.h \
32 qchart.h \
33 qchartwidget.h \
34 qchartglobal.h \
35 xylinechart/qxychartseries.h
36
37 HEADERS += $$PUBLIC_HEADERS
38 HEADERS += $$PRIVATE_HEADERS
39
40 INCLUDEPATH += xylinechart \
41 .
11 42
12 CONFIG += debug_and_release
13 CONFIG(debug, debug|release):TARGET = QtCommercialChartd
14
15 SOURCES += \
16 xylinechart/qxychartseries.cpp \
17 xylinechart/xylinechartitem.cpp \
18 xylinechart/xygrid.cpp \
19 xylinechart/xyplotdomain.cpp \
20 qchart.cpp \
21 axis.cpp \
22 qchartwidget.cpp
23
24 PRIVATE_HEADERS += \
25 xylinechart/xylinechartitem_p.h \
26 xylinechart/xyplotdomain_p.h \
27 xylinechart/xygrid_p.h \
28 axis_p.h
29
30 PUBLIC_HEADERS += \
31 qchartseries.h \
32 qchart.h \
33 qchartwidget.h \
34 qchartglobal.h \
35 xylinechart/qxychartseries.h
36
37 HEADERS += $$PUBLIC_HEADERS
38 HEADERS += $$PRIVATE_HEADERS
39
40 INCLUDEPATH += xylinechart \
41 .
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 DEFINES += QTCOMMERCIALCHART_LIBRARY
50
51 public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart
52 public_headers.files = $$PUBLIC_HEADERS
53 target.path = $$[QT_INSTALL_LIBS]
54 INSTALLS += target \
55 public_headers
56
49 DEFINES += QTCOMMERCIALCHART_LIBRARY
50
51 public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart
52 public_headers.files = $$PUBLIC_HEADERS
53 target.path = $$[QT_INSTALL_LIBS]
54 INSTALLS += target \
55 public_headers
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