controlpanel/tsrc/unit/ut_cpapi/ut_cpapi.pro
changeset 31 2c9d3aa5bea2
child 32 20bd089f4aaa
equal deleted inserted replaced
2:051d34a3f367 31:2c9d3aa5bea2
       
     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 TARGET = ut_cpapi
       
    19 QT += testlib
       
    20 CONFIG += hb qtestlib
       
    21 unix {
       
    22     test.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe
       
    23     autotest.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe -xml -o c:/ut_cpapi.xml
       
    24 } else:win32 {
       
    25     test.CONFIG += recursive
       
    26     autotest.CONFIG += recursive
       
    27     build_pass {
       
    28         test.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe
       
    29         autotest.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe -xml -o c:/ut_cpapi.xml
       
    30         }
       
    31 }
       
    32 QMAKE_EXTRA_TARGETS += test autotest
       
    33 
       
    34 
       
    35 
       
    36 DEPENDPATH += .
       
    37 
       
    38 INCLUDEPATH += . \
       
    39 							 src/\
       
    40 							 ../../../src/inc \
       
    41 							 ../../../controlpanel_plat/inc
       
    42 							 
       
    43 LIBS += -lcpframework
       
    44 
       
    45 # Input
       
    46 HEADERS += src/ut_cpapi.h
       
    47 SOURCES += src/ut_cpapi.cpp