@@ -1,38 +1,38 | |||
|
1 | 1 | !include(config.pri) { |
|
2 | 2 | error('Missing config.pri') |
|
3 | 3 | } |
|
4 | 4 | |
|
5 | 5 | TEMPLATE = subdirs |
|
6 | 6 | SUBDIRS = src qmlplugin examples demos test |
|
7 | 7 | |
|
8 | 8 | local_build:{ |
|
9 | 9 | message('Configured for local build against local libs...') |
|
10 | 10 | message('You can run "make" to build qchart library, examples and demos...') |
|
11 | 11 | } else { |
|
12 | 12 | message('Running build aginst system libs...') |
|
13 | message('Bulding only charts library...') | |
|
13 | message('Building only charts library...') | |
|
14 | 14 | message('You can run "make install" to build and install charts.') |
|
15 | 15 | message('Afterwards you can run "cd examples; qmake ; make " to build examples.') |
|
16 | 16 | message('Run qmake CONFIG+=local_build' to build everything at once.) |
|
17 | 17 | SUBDIRS = src |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | CONFIG += ordered |
|
21 | 21 | QMAKE_CXXFLAGS += -g -Wall |
|
22 | 22 | unix:QMAKE_DISTCLEAN += -r build bin include lib doc/html |
|
23 | 23 | win32:QMAKE_DISTCLEAN += /Q /s build bin include lib doc\\html |
|
24 | 24 | |
|
25 | 25 | # install feature file |
|
26 | 26 | feature.path = $$[QT_INSTALL_DATA]/mkspecs/features |
|
27 | 27 | feature.files = $$PWD/features/qtcommercialchart.prf |
|
28 | 28 | INSTALLS += feature |
|
29 | 29 | |
|
30 | 30 | docs.target = docs |
|
31 | 31 | win32:{ |
|
32 | 32 | docs.commands = qdoc3 $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf |
|
33 | 33 | }else{ |
|
34 | 34 | docs.commands = qdoc3 $$CHART_BUILD_DOC_DIR/qcharts.qdocconf |
|
35 | 35 | } |
|
36 | 36 | docs.depends = FORCE |
|
37 | 37 | QMAKE_EXTRA_TARGETS += docs |
|
38 | 38 |
General Comments 0
You need to be logged in to leave comments.
Login now