src.pro
94 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 | ||||
sauimone
|
r216 | SOURCES += \ | ||
Michal Klocek
|
r67 | axisitem.cpp \ | ||
Michal Klocek
|
r291 | axisanimationitem.cpp \ | ||
Michal Klocek
|
r131 | chartdataset.cpp \ | ||
chartpresenter.cpp \ | ||||
Michal Klocek
|
r250 | charttheme.cpp \ | ||
domain.cpp \ | ||||
qchart.cpp \ | ||||
qchartaxis.cpp \ | ||||
qchartseries.cpp \ | ||||
qchartview.cpp | ||||
Michal Klocek
|
r249 | PRIVATE_HEADERS += \ | ||
Michal Klocek
|
r67 | axisitem_p.h \ | ||
Michal Klocek
|
r291 | axisanimationitem_p.h \ | ||
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
|
r249 | PUBLIC_HEADERS += \ | ||
Michal Klocek
|
r145 | qchart.h \ | ||
Michal Klocek
|
r250 | qchartaxis.h \ | ||
Michal Klocek
|
r145 | qchartglobal.h \ | ||
Michal Klocek
|
r250 | qchartseries.h \ | ||
Michal Klocek
|
r72 | qchartview.h \ | ||
Michal Klocek
|
r249 | |||
include(linechart/linechart.pri) | ||||
include(barchart/barchart.pri) | ||||
Jani Honkonen
|
r146 | include(piechart/piechart.pri) | ||
Tero Ahola
|
r194 | include(scatterseries/scatter.pri) | ||
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 | ||||
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 | ||||
Tero Ahola
|
r194 | |||