summaryrefslogtreecommitdiffstats
path: root/plugins/contacts/symbian/symbian.pro
blob: 35e1f2d992dceec06e8e1d4bec12eb5b96bda6ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
TEMPLATE = subdirs
CONFIG += ordered

include(../../../common.pri)

## quick platform check.
IS_SYMBIAN_3_PS3 = no
exists($${EPOCROOT}epoc32/data/z/system/install/productid_helen.sis) {
    IS_SYMBIAN_3_PS3 = yes
    message(S^3 1.11 hw79 platform)
}

contains(IS_SYMBIAN_3_PS3, no) {
    exists($${EPOCROOT}epoc32/rom/config/ncp110) {
        IS_SYMBIAN_3_PS3 = yes
        message(S^3 bridge platform)
    }
}

contains(IS_SYMBIAN_3_PS3, no) {
    message(S^3 PS2 or older platform)
}

contains(IS_SYMBIAN_3_PS3, yes) {
    message(Building symbian contacts model library and plugin)
    SUBDIRS += contactsmodel plugin
} else {
    message(Building symbian plugin only)
    SUBDIRS += plugin
}


#contains(symbiancntmodel_enabled, yes) {
#    contains(symbiancntmodelv2_enabled, yes) {
#        ##### Symbian^4 with in-source cntmodel already deployed
#        ##message(Building Symbian CNTMODEL library.)
#        ##SUBDIRS += contactsmodel plugin
#
#        ##TODO FIXME: we disabled building the symbian plugin on Symbian^4 temporarily
#        message(In-source CNTMODEL deployed: building Symbian CNTMODEL and contacts plugin DISABLED!)
#    } else {
#
#        contains(IS_SYMBIAN_4, yes) {
#            ## the configure tests don't agree with the platform check.
#            message(Configure test confusion; building Symbian CNTMODEL and contacts plugin DISABLED!)
#        } else {
#            ## this is symbian 3.1, 3.2, 5.0 or ^3
#            message(Building Symbian contacts plugin)
#            SUBDIRS += plugin
#        }
#    }
#} else {
#    ##### Symbian^4 without in-source cntmodel already deployed
#    ##message(Building Symbian CNTMODEL library.)
#    ##SUBDIRS += contactsmodel plugin
#
#    ##TODO FIXME: we disabled building the symbian plugin on Symbian^4 temporarily
#    message(In-source CNTMODEL not deployed: building Symbian CNTMODEL and contacts plugin DISABLED!)
#}