src.pro
89 lines
| 2.3 KiB
| text/idl
|
PrologLexer
/ src / src.pro
Michal Klocek
|
r39 | !include( ../common.pri ) { | ||
error( Couldn't find the common.pri file! ) | ||||
} | ||||
Michal Klocek
|
r36 | TARGET = QtCommercialChart | ||
Michal Klocek
|
r39 | DESTDIR = $$CHART_BUILD_LIB_DIR | ||
Michal Klocek
|
r36 | TEMPLATE = lib | ||
QT += core \ | ||||
gui | ||||
Michal Klocek
|
r39 | |||
Michal Klocek
|
r36 | CONFIG += debug_and_release | ||
CONFIG(debug, debug|release):TARGET = QtCommercialChartd | ||||
sauimone
|
r56 | SOURCES += \ | ||
barchart/barchartseries.cpp \ | ||||
barchart/bargroup.cpp \ | ||||
barchart/bar.cpp \ | ||||
Michal Klocek
|
r36 | xylinechart/qxychartseries.cpp \ | ||
xylinechart/xylinechartitem.cpp \ | ||||
xylinechart/xygrid.cpp \ | ||||
xylinechart/xyplotdomain.cpp \ | ||||
Tero Ahola
|
r42 | qscatterseries.cpp \ | ||
Tero Ahola
|
r51 | qpieseries.cpp \ | ||
Michal Klocek
|
r36 | qchart.cpp \ | ||
axis.cpp \ | ||||
Tero Ahola
|
r51 | qchartwidget.cpp \ | ||
Michal Klocek
|
r58 | pieslice.cpp \ | ||
qchartview.cpp | ||||
Michal Klocek
|
r36 | |||
PRIVATE_HEADERS += \ | ||||
xylinechart/xylinechartitem_p.h \ | ||||
xylinechart/xyplotdomain_p.h \ | ||||
xylinechart/xygrid_p.h \ | ||||
Tero Ahola
|
r42 | qscatterseries_p.h \ | ||
Tero Ahola
|
r51 | pieslice.h \ | ||
Michal Klocek
|
r36 | axis_p.h | ||
PUBLIC_HEADERS += \ | ||||
qchartseries.h \ | ||||
Tero Ahola
|
r42 | qscatterseries.h \ | ||
Tero Ahola
|
r51 | qpieseries.h \ | ||
Michal Klocek
|
r36 | qchart.h \ | ||
qchartwidget.h \ | ||||
qchartglobal.h \ | ||||
sauimone
|
r56 | xylinechart/qxychartseries.h \ | ||
barchart/barchartseries.h \ | ||||
Michal Klocek
|
r58 | barchart/bargroup.h \ | ||
qchartview.h | ||||
Michal Klocek
|
r36 | HEADERS += $$PUBLIC_HEADERS | ||
HEADERS += $$PRIVATE_HEADERS | ||||
INCLUDEPATH += xylinechart \ | ||||
sauimone
|
r56 | barchart \ | ||
Michal Klocek
|
r36 | . | ||
Michal Klocek
|
r35 | |||
Michal Klocek
|
r39 | OBJECTS_DIR = $$CHART_BUILD_DIR/lib | ||
MOC_DIR = $$CHART_BUILD_DIR/lib | ||||
UI_DIR = $$CHART_BUILD_DIR/lib | ||||
RCC_DIR = $$CHART_BUILD_DIR/lib | ||||
Michal Klocek
|
r36 | DEFINES += QTCOMMERCIALCHART_LIBRARY | ||
public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart | ||||
public_headers.files = $$PUBLIC_HEADERS | ||||
target.path = $$[QT_INSTALL_LIBS] | ||||
INSTALLS += target \ | ||||
public_headers | ||||
Michal Klocek
|
r39 | |||
install_build_headers.name = bild_headers | ||||
install_build_headers.output = $$CHART_BUILD_HEADER_DIR/${QMAKE_FILE_BASE}.h | ||||
install_build_headers.input = PUBLIC_HEADERS | ||||
install_build_headers.commands = $$QMAKE_COPY ${QMAKE_FILE_NAME} $$CHART_BUILD_HEADER_DIR | ||||
install_build_headers.CONFIG += target_predeps no_link | ||||
QMAKE_EXTRA_COMPILERS += install_build_headers | ||||
chartversion.target = qchartversion_p.h | ||||
chartversion.commands = @echo "build_time" > $$chartversion.target; | ||||
chartversion.depends = $$HEADERS $$SOURCES | ||||
PRE_TARGETDEPS += qchartversion_p.h | ||||
QMAKE_CLEAN+= qchartversion_p.h | ||||
QMAKE_EXTRA_TARGETS += chartversion | ||||
unix:QMAKE_DISTCLEAN += -r $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR | ||||
Tero Ahola
|
r42 | win32:QMAKE_DISTCLEAN += /Q $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR | ||
Tero Ahola
|
r51 | |||