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