equal
deleted
inserted
replaced
7 |
7 |
8 cross_compile: CONFIG += nostrip |
8 cross_compile: CONFIG += nostrip |
9 |
9 |
10 isEmpty(QT_BUILD_PARTS) { #defaults |
10 isEmpty(QT_BUILD_PARTS) { #defaults |
11 symbian { |
11 symbian { |
12 QT_BUILD_PARTS = libs tools examples demos |
12 QT_BUILD_PARTS = libs tools |
13 } else { |
13 } else { |
14 QT_BUILD_PARTS = libs tools examples demos docs translations |
14 QT_BUILD_PARTS = libs tools examples demos docs translations |
15 } |
15 } |
16 } else { #make sure the order makes sense |
16 } else { #make sure the order makes sense |
17 contains(QT_BUILD_PARTS, translations) { |
17 contains(QT_BUILD_PARTS, translations) { |
30 QT_BUILD_PARTS -= qmake |
30 QT_BUILD_PARTS -= qmake |
31 QT_BUILD_PARTS = qmake $$QT_BUILD_PARTS |
31 QT_BUILD_PARTS = qmake $$QT_BUILD_PARTS |
32 } |
32 } |
33 } |
33 } |
34 |
34 |
35 # QTP tests into build |
35 #QTP: build libs only. We don't need the others |
36 QT_BUILD_PARTS += tests |
36 QT_BUILD_PARTS = libs |
37 |
37 |
38 #process the projects |
38 #process the projects |
39 for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) { |
39 for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) { |
40 isEqual(PROJECT, tools) { |
40 isEqual(PROJECT, tools) { |
41 SUBDIRS += tools |
41 SUBDIRS += tools |
48 } else:isEqual(PROJECT, libs) { |
48 } else:isEqual(PROJECT, libs) { |
49 include(src/src.pro) |
49 include(src/src.pro) |
50 } else:isEqual(PROJECT, docs) { |
50 } else:isEqual(PROJECT, docs) { |
51 contains(QT_BUILD_PARTS, tools):include(doc/doc.pri) |
51 contains(QT_BUILD_PARTS, tools):include(doc/doc.pri) |
52 } else:isEqual(PROJECT, translations) { |
52 } else:isEqual(PROJECT, translations) { |
53 contains(QT_BUILD_PARTS, tools):include(translations/translations.pri) |
53 contains(QT_BUILD_PARTS, tools) { |
|
54 include(translations/translations.pri) # ts targets |
|
55 } else { |
|
56 !wince*:!symbian:SUBDIRS += tools/linguist/lrelease |
|
57 } |
|
58 SUBDIRS += translations # qm build step |
54 } else:isEqual(PROJECT, qmake) { |
59 } else:isEqual(PROJECT, qmake) { |
55 # SUBDIRS += qmake |
60 # SUBDIRS += qmake |
56 } else { |
61 } else { |
57 message(Unknown PROJECT: $$PROJECT) |
62 message(Unknown PROJECT: $$PROJECT) |
58 } |
63 } |