homescreenapp/stateplugins/hshomescreenstateplugin/tsrc/t_hshomescreenstateplugin/t_hshomescreenstateplugin.pro
changeset 90 3ac3aaebaee5
equal deleted inserted replaced
86:e4f038c420f7 90:3ac3aaebaee5
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #
       
    16 
       
    17 TEMPLATE = app
       
    18 
       
    19 CONFIG(debug, debug|release) {
       
    20     DESTDIR = ./debug
       
    21 } else {
       
    22     DESTDIR = ./release
       
    23 }
       
    24 
       
    25 CONFIG += debug_and_release \
       
    26           console
       
    27 CONFIG += hb mobility
       
    28 
       
    29 MOBILITY = serviceframework
       
    30 
       
    31 QT += testlib \
       
    32       xml \
       
    33       sql
       
    34 HB += hbfeedback
       
    35 
       
    36 RESOURCES += t_hshomescreenstateplugin.qrc
       
    37 
       
    38 CONFIG(debug, debug|release) {
       
    39     DESTDIR = ./debug
       
    40 } else {
       
    41     DESTDIR = ./release
       
    42 }
       
    43 
       
    44 DEFINES += HOMESCREEN_TEST \
       
    45            HSDOMAINMODEL_TEST \
       
    46            HSUTILS_TEST \
       
    47            MENUSERVICE_TEST
       
    48 
       
    49 coverage:DEFINES += COVERAGE_MEASUREMENT
       
    50 
       
    51 DEPENDPATH += .\
       
    52               ./src \
       
    53               ./inc \
       
    54               ../../src \
       
    55               ../../inc
       
    56 
       
    57 INCLUDEPATH += .\
       
    58                ./inc \
       
    59                ../../inc \
       
    60                ../../../../../homescreenapp/inc \
       
    61                ../../../../hsutils/inc \
       
    62                ../../../../hsdomainmodel/inc \
       
    63                ../../../../hsapplication/inc \
       
    64                ../../../../serviceproviders/hsmenuserviceprovider/inc \
       
    65                ../../../../hsutils/tsrc/t_hsutils/inc
       
    66 
       
    67 exists(../../../../../../homescreensrv) {
       
    68 INCLUDEPATH += ../../../../../../homescreensrv/homescreensrv_plat/contentstorage_api \
       
    69                ../../../../../../homescreensrv/contentstorage/caclient/inc \
       
    70                ../../../../../../homescreensrv/contentstorage/caclient/stub/inc
       
    71 } else {
       
    72 INCLUDEPATH += $${EPOCROOT}sf/mw/homescreensrv/homescreensrv_plat/contentstorage_api \
       
    73                $${EPOCROOT}sf/mw/homescreensrv/contentstorage/caclient/inc \
       
    74                $${EPOCROOT}sf/mw/homescreensrv/contentstorage/caclient/stub/inc
       
    75 }
       
    76 
       
    77 symbian: {
       
    78     CONFIG += symbian_test
       
    79     CONFIG -= hb
       
    80     load(hb.prf)
       
    81     CONFIG -= symbian_i18n
       
    82     SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    83     TARGET.UID3 = 0x20022F60
       
    84     TARGET.CAPABILITY = CAP_APPLICATION AllFiles
       
    85     TARGET.EPOCHEAPSIZE = 0x20000 0x1000000 // 128kB - 16MB
       
    86 
       
    87     LIBS+=-lxqservice -lxqserviceutil -labclient -lxqsettingsmanager
       
    88     
       
    89     MMP_RULES += SMPSAFE
       
    90 }
       
    91 
       
    92 include(t_hshomescreenstateplugin.pri)
       
    93 
       
    94 win32:include(installs_win32.pri)