| [2] | 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
|
|---|
| [561] | 11 | symbian {
|
|---|
| 12 | QT_BUILD_PARTS = libs tools examples demos
|
|---|
| 13 | } else {
|
|---|
| 14 | QT_BUILD_PARTS = libs tools examples demos docs translations
|
|---|
| 15 | }
|
|---|
| [2] | 16 | } else { #make sure the order makes sense
|
|---|
| [561] | 17 | contains(QT_BUILD_PARTS, translations) {
|
|---|
| 18 | QT_BUILD_PARTS -= translations
|
|---|
| 19 | QT_BUILD_PARTS = translations $$QT_BUILD_PARTS
|
|---|
| 20 | }
|
|---|
| [413] | 21 | contains(QT_BUILD_PARTS, tools) {
|
|---|
| 22 | QT_BUILD_PARTS -= tools
|
|---|
| 23 | QT_BUILD_PARTS = tools $$QT_BUILD_PARTS
|
|---|
| 24 | }
|
|---|
| [2] | 25 | contains(QT_BUILD_PARTS, libs) {
|
|---|
| 26 | QT_BUILD_PARTS -= libs
|
|---|
| 27 | QT_BUILD_PARTS = libs $$QT_BUILD_PARTS
|
|---|
| 28 | }
|
|---|
| [513] | 29 | contains(QT_BUILD_PARTS, qmake) {
|
|---|
| [2] | 30 | QT_BUILD_PARTS -= qmake
|
|---|
| 31 | QT_BUILD_PARTS = qmake $$QT_BUILD_PARTS
|
|---|
| 32 | }
|
|---|
| 33 | }
|
|---|
| 34 |
|
|---|
| 35 | #process the projects
|
|---|
| 36 | for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) {
|
|---|
| 37 | isEqual(PROJECT, tools) {
|
|---|
| 38 | SUBDIRS += tools
|
|---|
| |
|---|