charts.pro
40 lines
| 1.2 KiB
| text/idl
|
PrologLexer
Michal Klocek
|
r996 | !include(config.pri) { | ||
error('Missing config.pri') | ||||
Michal Klocek
|
r34 | } | ||
Michal Klocek
|
r32 | TEMPLATE = subdirs | ||
Michal Klocek
|
r996 | SUBDIRS = src qmlplugin examples demos test | ||
Michal Klocek
|
r193 | |||
Michal Klocek
|
r998 | development_build: message('Development build') | ||
Michal Klocek
|
r996 | local_build:{ | ||
message('Configured for local build against local libs...') | ||||
message('You can run "make" to build qchart library, examples and demos...') | ||||
Tero Ahola
|
r197 | } else { | ||
Tero Ahola
|
r558 | message('Running build aginst system libs...') | ||
Michal Klocek
|
r997 | message('Building only charts library...') | ||
Michal Klocek
|
r996 | message('You can run "make install" to build and install charts.') | ||
message('Afterwards you can run "cd examples; qmake ; make " to build examples.') | ||||
message('Run qmake CONFIG+=local_build' to build everything at once.) | ||||
SUBDIRS = src | ||||
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 | |||
Michal Klocek
|
r725 | docs.target = docs | ||
Michal Klocek
|
r307 | win32:{ | ||
Michal Klocek
|
r725 | docs.commands = qdoc3 $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf | ||
Michal Klocek
|
r307 | }else{ | ||
Michal Klocek
|
r725 | docs.commands = qdoc3 $$CHART_BUILD_DOC_DIR/qcharts.qdocconf | ||
Michal Klocek
|
r307 | } | ||
Michal Klocek
|
r725 | docs.depends = FORCE | ||
Michal Klocek
|
r708 | QMAKE_EXTRA_TARGETS += docs | ||