charts.pro
34 lines
| 885 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 | ||
Jani Honkonen
|
r508 | SUBDIRS += src examples demos test qmlplugin | ||
Michal Klocek
|
r193 | |||
integrated_build:{ | ||||
Tero Ahola
|
r558 | message('Configured for integrated build against local libs...') | ||
Tero Ahola
|
r197 | } else { | ||
Tero Ahola
|
r558 | message('Running build aginst system libs...') | ||
Tero Ahola
|
r197 | 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
|
r708 | |||
Michal Klocek
|
r306 | doc.depends = FORCE | ||
Michal Klocek
|
r708 | QMAKE_EXTRA_TARGETS += docs | ||