src.pro
92 lines
| 2.8 KiB
| text/idl
|
PrologLexer
/ src / src.pro
Michal Klocek
|
r145 | !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 | ||||
CONFIG += debug_and_release | ||||
CONFIG(debug, debug|release):TARGET = QtCommercialChartd | ||||
Michal Klocek
|
r478 | SOURCES += \ | ||
Michal Klocek
|
r131 | chartdataset.cpp \ | ||
chartpresenter.cpp \ | ||||
Michal Klocek
|
r250 | charttheme.cpp \ | ||
domain.cpp \ | ||||
qchart.cpp \ | ||||
Michal Klocek
|
r360 | qchartview.cpp \ | ||
qseries.cpp | ||||
Michal Klocek
|
r478 | PRIVATE_HEADERS += \ | ||
Michal Klocek
|
r131 | chartdataset_p.h \ | ||
Michal Klocek
|
r250 | chartitem_p.h \ | ||
Michal Klocek
|
r131 | chartpresenter_p.h \ | ||
Michal Klocek
|
r250 | charttheme_p.h \ | ||
Michal Klocek
|
r145 | domain_p.h | ||
Michal Klocek
|
r478 | PUBLIC_HEADERS += \ | ||
qchart.h \ | ||||
Michal Klocek
|
r145 | qchartglobal.h \ | ||
Michal Klocek
|
r360 | qseries.h \ | ||
qchartview.h | ||||
Michal Klocek
|
r478 | |||
include(axis/axis.pri) | ||||
Michal Klocek
|
r465 | include(xychart/xychart.pri) | ||
Michal Klocek
|
r360 | include(linechart/linechart.pri) | ||
Michal Klocek
|
r421 | include(areachart/areachart.pri) | ||
Michal Klocek
|
r360 | include(barchart/barchart.pri) | ||
Jani Honkonen
|
r146 | include(piechart/piechart.pri) | ||
Tero Ahola
|
r194 | include(scatterseries/scatter.pri) | ||
Marek Rosa
|
r295 | include(splinechart/splinechart.pri) | ||
Tero Ahola
|
r194 | |||
Michal Klocek
|
r145 | THEMES += themes/chartthemeicy_p.h \ | ||
Michal Klocek
|
r143 | themes/chartthemegrayscale_p.h \ | ||
themes/chartthemescientific_p.h \ | ||||
Michal Klocek
|
r145 | themes/chartthemevanilla_p.h | ||
Tero Ahola
|
r194 | HEADERS += $$PUBLIC_HEADERS | ||
Michal Klocek
|
r36 | HEADERS += $$PRIVATE_HEADERS | ||
Michal Klocek
|
r143 | HEADERS += $$THEMES | ||
Michal Klocek
|
r145 | INCLUDEPATH += linechart \ | ||
barchart \ | ||||
themes \ | ||||
. | ||||
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
|
r193 | install_build_public_headers.name = bild_public_headers | ||
install_build_public_headers.output = $$CHART_BUILD_PUBLIC_HEADER_DIR/${QMAKE_FILE_BASE}.h | ||||
install_build_public_headers.input = PUBLIC_HEADERS | ||||
install_build_public_headers.commands = $$QMAKE_COPY \ | ||||
Michal Klocek
|
r145 | ${QMAKE_FILE_NAME} \ | ||
Michal Klocek
|
r193 | $$CHART_BUILD_PUBLIC_HEADER_DIR | ||
install_build_public_headers.CONFIG += target_predeps \ | ||||
Michal Klocek
|
r145 | no_link | ||
Michal Klocek
|
r193 | install_build_private_headers.name = bild_private_headers | ||
install_build_private_headers.output = $$CHART_BUILD_PRIVATE_HEADER_DIR/${QMAKE_FILE_BASE}.h | ||||
install_build_private_headers.input = PRIVATE_HEADERS | ||||
install_build_private_headers.commands = $$QMAKE_COPY \ | ||||
${QMAKE_FILE_NAME} \ | ||||
$$CHART_BUILD_PRIVATE_HEADER_DIR | ||||
install_build_private_headers.CONFIG += target_predeps \ | ||||
no_link | ||||
Michal Klocek
|
r360 | QMAKE_EXTRA_COMPILERS += install_build_public_headers \ | ||
install_build_private_headers | ||||
Michal Klocek
|
r39 | chartversion.target = qchartversion_p.h | ||
Michal Klocek
|
r145 | chartversion.commands = @echo \ | ||
"build_time" \ | ||||
> \ | ||||
$$chartversion.target; | ||||
chartversion.depends = $$HEADERS \ | ||||
$$SOURCES | ||||
Michal Klocek
|
r39 | PRE_TARGETDEPS += qchartversion_p.h | ||
Michal Klocek
|
r145 | QMAKE_CLEAN += qchartversion_p.h | ||
Michal Klocek
|
r39 | QMAKE_EXTRA_TARGETS += chartversion | ||
Michal Klocek
|
r145 | unix:QMAKE_DISTCLEAN += -r \ | ||
$$CHART_BUILD_HEADER_DIR \ | ||||
$$CHART_BUILD_LIB_DIR | ||||
win32:QMAKE_DISTCLEAN += /Q \ | ||||
$$CHART_BUILD_HEADER_DIR \ | ||||
$$CHART_BUILD_LIB_DIR | ||||