charts.pro
39 lines
| 1.1 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
|
r1021 | !system_build:{ | ||
Michal Klocek
|
r996 | message('Configured for local build against local libs...') | ||
Michal Klocek
|
r1021 | message('You can run "make" to build qchart library, examples, demos and plugin...') | ||
message('You can run "make install" to install qchart in qt sdk...') | ||||
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('Afterwards you can run "cd examples; qmake ; make " to build examples.') | ||
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 | ||