@@ -1,34 +1,33 | |||||
1 | !include(common.pri) { |
|
1 | !include(common.pri) { | |
2 | error('missing common.pri') |
|
2 | error('missing common.pri') | |
3 | } |
|
3 | } | |
4 |
|
4 | |||
5 | TEMPLATE = subdirs |
|
5 | TEMPLATE = subdirs | |
6 | SUBDIRS += src examples demos test qmlplugin |
|
6 | SUBDIRS += src examples demos test qmlplugin | |
7 |
|
7 | |||
8 | integrated_build:{ |
|
8 | integrated_build:{ | |
9 | message('Configured for integrated build against local libs...') |
|
9 | message('Configured for integrated build against local libs...') | |
10 | } else { |
|
10 | } else { | |
11 | message('Running build aginst system libs...') |
|
11 | message('Running build aginst system libs...') | |
12 | message('Please build example test and qmlplugin after installing library.') |
|
12 | message('Please build example test and qmlplugin after installing library.') | |
13 | } |
|
13 | } | |
14 |
|
14 | |||
15 | CONFIG += ordered |
|
15 | CONFIG += ordered | |
16 | QMAKE_CXXFLAGS += -g -Wall |
|
16 | QMAKE_CXXFLAGS += -g -Wall | |
17 | unix:QMAKE_DISTCLEAN += -r build bin include lib doc/html |
|
17 | unix:QMAKE_DISTCLEAN += -r build bin include lib doc/html | |
18 | win32:QMAKE_DISTCLEAN += /Q /s build bin include lib doc\\html |
|
18 | win32:QMAKE_DISTCLEAN += /Q /s build bin include lib doc\\html | |
19 |
|
19 | |||
20 | # install feature file |
|
20 | # install feature file | |
21 | feature.path = $$[QT_INSTALL_DATA]/mkspecs/features |
|
21 | feature.path = $$[QT_INSTALL_DATA]/mkspecs/features | |
22 | feature.files = $$PWD/features/qtcommercialchart.prf |
|
22 | feature.files = $$PWD/features/qtcommercialchart.prf | |
23 | INSTALLS += feature |
|
23 | INSTALLS += feature | |
24 |
|
24 | |||
25 | doc.target = doc |
|
25 | docs.target = docs | |
26 | win32:{ |
|
26 | win32:{ | |
27 | doc.commands = qdoc3 $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf |
|
27 | docs.commands = qdoc3 $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf | |
28 | }else{ |
|
28 | }else{ | |
29 | doc.commands = qdoc3 $$CHART_BUILD_DOC_DIR/qcharts.qdocconf |
|
29 | docs.commands = qdoc3 $$CHART_BUILD_DOC_DIR/qcharts.qdocconf | |
30 | } |
|
30 | } | |
31 |
|
31 | docs.depends = FORCE | ||
32 | doc.depends = FORCE |
|
|||
33 | QMAKE_EXTRA_TARGETS += docs |
|
32 | QMAKE_EXTRA_TARGETS += docs | |
34 |
|
33 |
General Comments 0
You need to be logged in to leave comments.
Login now