charts.pro
31 lines
| 802 B
| text/idl
|
PrologLexer
Michal Klocek
|
r34 | !include(common.pri) { | ||
Tero Ahola
|
r60 | error('missing common.pri') | ||
Michal Klocek
|
r34 | } | ||
Michal Klocek
|
r32 | TEMPLATE = subdirs | ||
Tero Ahola
|
r197 | SUBDIRS += src example test qmlplugin | ||
Michal Klocek
|
r193 | |||
integrated_build:{ | ||||
Tero Ahola
|
r197 | message('Configured for integrated build') | ||
} else { | ||||
message('Please build example test and qmlplugin after installing library.') | ||||
Michal Klocek
|
r193 | } | ||
Michal Klocek
|
r32 | CONFIG += ordered | ||
QMAKE_CXXFLAGS += -g -Wall | ||||
Michal Klocek
|
r349 | unix:QMAKE_DISTCLEAN += -r build bin include lib doc/html | ||
win32:QMAKE_DISTCLEAN += /Q /s build bin include lib doc\\html | ||||
Michal Klocek
|
r32 | |||
# install feature file | ||||
feature.path = $$[QT_INSTALL_DATA]/mkspecs/features | ||||
feature.files = $$PWD/features/qtcommercialchart.prf | ||||
INSTALLS += feature | ||||
Michal Klocek
|
r306 | |||
doc.target = doc | ||||
Michal Klocek
|
r307 | win32:{ | ||
doc.commands = qdoc3 $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf | ||||
}else{ | ||||
doc.commands = qdoc3 $$CHART_BUILD_DOC_DIR/qcharts.qdocconf | ||||
} | ||||
Michal Klocek
|
r306 | doc.depends = FORCE | ||
QMAKE_EXTRA_TARGETS += doc | ||||