src.pro
81 lines
| 2.1 KiB
| text/idl
|
PrologLexer
/ src / src.pro
|
r39 | !include( ../common.pri ) { | ||
error( Couldn't find the common.pri file! ) | ||||
} | ||||
|
r36 | TARGET = QtCommercialChart | ||
|
r39 | DESTDIR = $$CHART_BUILD_LIB_DIR | ||
|
r36 | TEMPLATE = lib | ||
QT += core \ | ||||
gui | ||||
|
r39 | |||
|
r36 | CONFIG += debug_and_release | ||
CONFIG(debug, debug|release):TARGET = QtCommercialChartd | ||||
SOURCES += \ | ||||
xylinechart/qxychartseries.cpp \ | ||||
xylinechart/xylinechartitem.cpp \ | ||||
xylinechart/xygrid.cpp \ | ||||
xylinechart/xyplotdomain.cpp \ | ||||
|
r42 | qscatterseries.cpp \ | ||
|
r51 | qpieseries.cpp \ | ||
|
r36 | qchart.cpp \ | ||
axis.cpp \ | ||||
|
r51 | qchartwidget.cpp \ | ||
pieslice.cpp | ||||
|
r36 | |||
PRIVATE_HEADERS += \ | ||||
xylinechart/xylinechartitem_p.h \ | ||||
xylinechart/xyplotdomain_p.h \ | ||||
xylinechart/xygrid_p.h \ | ||||
|
r42 | qscatterseries_p.h \ | ||
|
r51 | pieslice.h \ | ||
|
r36 | axis_p.h | ||
PUBLIC_HEADERS += \ | ||||
qchartseries.h \ | ||||
|
r42 | qscatterseries.h \ | ||
|
r51 | qpieseries.h \ | ||
|
r36 | qchart.h \ | ||
qchartwidget.h \ | ||||
qchartglobal.h \ | ||||
|
r39 | xylinechart/qxychartseries.h | ||
|
r36 | HEADERS += $$PUBLIC_HEADERS | ||
HEADERS += $$PRIVATE_HEADERS | ||||
INCLUDEPATH += xylinechart \ | ||||
. | ||||
|
r35 | |||
|
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 | ||||
|
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 | ||||
|
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 | ||||
|
r42 | win32:QMAKE_DISTCLEAN += /Q $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR | ||
|
r51 | |||