controlpanel/tsrc/unit/ut_cpapi/ut_cpapi.pro
changeset 68 13e71d907dc3
parent 40 6465d5bb863a
equal deleted inserted replaced
40:6465d5bb863a 68:13e71d907dc3
     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 CONFIG += symbian_test
       
    22 unix {
       
    23     test.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe
       
    24     autotest.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe -xml -o c:/ut_cpapi.xml
       
    25 } else:win32 {
       
    26     test.CONFIG += recursive
       
    27     autotest.CONFIG += recursive
       
    28     build_pass {
       
    29         test.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe
       
    30         autotest.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe -xml -o c:/ut_cpapi.xml
       
    31         }
       
    32 }
       
    33 QMAKE_EXTRA_TARGETS += test autotest
       
    34 
       
    35 DEPENDPATH += .
       
    36 
       
    37 INCLUDEPATH += . \
       
    38 							 src/\
       
    39 							 ../../../src/inc \
       
    40 							 ../../../controlpanel_plat/inc
       
    41 							 
       
    42 LIBS += -lcpframework
       
    43 
       
    44 # Input
       
    45 HEADERS += src/ut_cpapi.h
       
    46 SOURCES += src/ut_cpapi.cpp \ 
       
    47             src/main.cpp
       
    48 
       
    49 symbian {
       
    50 	BLD_INF_RULES.prj_exports += "data/controlpanellog.conf C:/data/.config/ut_cpapi/controlpanellog.conf"
       
    51 }