1 | #####################################################################
|
---|
2 | # Main projectfile
|
---|
3 | #####################################################################
|
---|
4 |
|
---|
5 | CONFIG += ordered
|
---|
6 | TEMPLATE = subdirs
|
---|
7 |
|
---|
8 | cross_compile: CONFIG += nostrip
|
---|
9 |
|
---|
10 | isEmpty(QT_BUILD_PARTS) { #defaults
|
---|
11 | QT_BUILD_PARTS = libs tools examples demos docs translations
|
---|
12 | } else { #make sure the order makes sense
|
---|
13 | contains(QT_BUILD_PARTS, tools) {
|
---|
14 | QT_BUILD_PARTS -= tools
|
---|
15 | QT_BUILD_PARTS = tools $$QT_BUILD_PARTS
|
---|
16 | }
|
---|
17 | contains(QT_BUILD_PARTS, libs) {
|
---|
18 | QT_BUILD_PARTS -= libs
|
---|
19 | QT_BUILD_PARTS = libs $$QT_BUILD_PARTS
|
---|
20 | }
|
---|
21 | contains(QT_BUILD_PARTS, qmake) {
|
---|
22 | QT_BUILD_PARTS -= qmake
|
---|
23 | QT_BUILD_PARTS = qmake $$QT_BUILD_PARTS
|
---|
24 | }
|
---|
25 | }
|
---|
26 |
|
---|
27 | #process the projects
|
---|
28 | for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) {
|
---|
29 | isEqual(PROJECT, tools) {
|
---|
30 | SUBDIRS += tools
|
---|
31 | } else:isEqual(PROJECT, examples) {
|
---|
32 | SUBDIRS += examples
|
---|
33 | } else:isEqual(PROJECT, demos) {
|
---|
34 | SUBDIRS += demos
|
---|
35 | } else:isEqual(PROJECT, libs) {
|
---|
|
---|