controlpanelui/src/cpplugins/keytouchfdbkplugin/tsrc/ut_cpkeyscreen.pro
changeset 41 ab0490982943
equal deleted inserted replaced
36:2fee987ebaff 41:ab0490982943
       
     1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     3 # This component and the accompanying materials are made available
       
     4 # under the terms of "Eclipse Public License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 # Initial Contributors:
       
     8 # Nokia Corporation - initial contribution.
       
     9 # Contributors:
       
    10 # Description:
       
    11 TEMPLATE = app
       
    12 TARGET = ut_cpkeyscreenmodel
       
    13 QT += testlib
       
    14 CONFIG += hb qtestlib
       
    15 CONFIG += symbian_test
       
    16 unix { 
       
    17     test.commands = /epoc32/RELEASE/WINSCW/udeb/$${TARGET}.exe
       
    18     autotest.commands = /epoc32/RELEASE/WINSCW/udeb/$${TARGET}.exe \
       
    19         -xml -o c:/$${TARGET}.xml
       
    20 }
       
    21 else:win32 { 
       
    22     test.CONFIG += recursive
       
    23     autotest.CONFIG += recursive
       
    24     build_pass { 
       
    25         test.commands = /epoc32/RELEASE/WINSCW/udeb/$${TARGET}.exe
       
    26         autotest.commands = /epoc32/RELEASE/WINSCW/udeb/$${TARGET}.exe \
       
    27             -xml -o c:/$${TARGET}.xml
       
    28     }
       
    29 }
       
    30 QMAKE_EXTRA_TARGETS += test autotest
       
    31 HEADERS += ut_cpkeyscreen.h \
       
    32     ../src/cpkeyscreenmodel_p.h \
       
    33     ../src/cpkeyscreenmodel.h \
       
    34     ../src/cpkeyscreenplugin.h \
       
    35     ../src/cpkeyscreenview.h \
       
    36     ../src/cpkeyscreenconstants.h
       
    37     
       
    38 SOURCES +=  ../src/cpkeyscreenmodel.cpp \
       
    39     		../src/cpkeyscreenplugin.cpp \
       
    40     		../src/cpkeyscreenview.cpp \
       
    41     		ut_cpkeyscreen.cpp
       
    42     		
       
    43 DEPENDPATH += .
       
    44 
       
    45 LIBS += -lcpframework
       
    46 
       
    47 symbian { 
       
    48     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    49     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    50     INCLUDEPATH += $$MW_LAYER_PLATFORM_EXPORT_PATH(cplogger)
       
    51     
       
    52     LIBS += -lcentralrepository -lfeatmgr
       
    53     
       
    54     SOURCES += ../src/cpkeyscreenmodel_p.cpp
       
    55     TARGET.CAPABILITY = ALL \
       
    56         -TCB
       
    57 }
       
    58 win32:SOURCES += ../src/cpkeyscreenmodel_win.cpp
       
    59 symbian:MMP_RULES += SMPSAFE