plugins/contacts/symbian/symbian.pro
changeset 5 603d3f8b6302
parent 0 876b1a06bc25
equal deleted inserted replaced
3:e4ebb16b39ea 5:603d3f8b6302
     1 TEMPLATE = subdirs
     1 TEMPLATE = subdirs
       
     2 CONFIG += ordered
     2 
     3 
     3 include(../../../common.pri)
     4 include(../../../common.pri)
     4 
     5 
     5 contains(build_symbiancntmodel, yes) {
     6 
     6     message(Building Symbian CNTMODEL library.)
     7 ## quick platform check.
     7     SUBDIRS += contactsmodel 
     8 IS_SYMBIAN_4 = yes
       
     9 IS_SYMBIAN_3 = no
       
    10 #exists($${EPOCROOT}epoc32/data/z/system/install/Series60v5.2.sis) {
       
    11 #    exists($${EPOCROOT}epoc32/release/winscw/udeb/VPbkEng.dll) \
       
    12 #    | exists($${EPOCROOT}epoc32/release/armv5/urel/VPbkEng.dll) {
       
    13 #        message(Building Symbian contacts plugin on S^3)
       
    14 #    } else {
       
    15 #        message(Building Symbian contacts plugin on S^4 or later platform)
       
    16 #        IS_SYMBIAN_4 = yes
       
    17 #    }
       
    18 #}
       
    19 
       
    20 contains(IS_SYMBIAN_4, yes) {
       
    21     message(Building Symbian^4 CNTMODEL library and plugin)
       
    22     SUBDIRS += contactsmodel plugin
       
    23 } else {
       
    24     SUBDIRS += plugin
     8 }
    25 }
     9 SUBDIRS += plugin
       
    10 
    26 
    11 CONFIG += ordered
    27 
       
    28 #contains(symbiancntmodel_enabled, yes) {
       
    29 #    contains(symbiancntmodelv2_enabled, yes) {
       
    30 #        ##### Symbian^4 with in-source cntmodel already deployed
       
    31 #        ##message(Building Symbian CNTMODEL library.)
       
    32 #        ##SUBDIRS += contactsmodel plugin
       
    33 #
       
    34 #        ##TODO FIXME: we disabled building the symbian plugin on Symbian^4 temporarily
       
    35 #        message(In-source CNTMODEL deployed: building Symbian CNTMODEL and contacts plugin DISABLED!)
       
    36 #    } else {
       
    37 #
       
    38 #        contains(IS_SYMBIAN_4, yes) {
       
    39 #            ## the configure tests don't agree with the platform check.
       
    40 #            message(Configure test confusion; building Symbian CNTMODEL and contacts plugin DISABLED!)
       
    41 #        } else {
       
    42 #            ## this is symbian 3.1, 3.2, 5.0 or ^3
       
    43 #            message(Building Symbian contacts plugin)
       
    44 #            SUBDIRS += plugin
       
    45 #        }
       
    46 #    }
       
    47 #} else {
       
    48 #    ##### Symbian^4 without in-source cntmodel already deployed
       
    49 #    ##message(Building Symbian CNTMODEL library.)
       
    50 #    ##SUBDIRS += contactsmodel plugin
       
    51 #
       
    52 #    ##TODO FIXME: we disabled building the symbian plugin on Symbian^4 temporarily
       
    53 #    message(In-source CNTMODEL not deployed: building Symbian CNTMODEL and contacts plugin DISABLED!)
       
    54 #}