controlpanel/tsrc/unit/ut_cpplugin/ut_cpplugin.pro
branchRCL_3
changeset 24 8ee96d21d9bf
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
       
     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_cpplugin
       
    19 QT += testlib
       
    20 CONFIG += hb qtestlib
       
    21 
       
    22 unix {
       
    23     test.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe
       
    24     autotest.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe -xml -o c:/ut_cpplugin.xml
       
    25 } else:win32 {
       
    26     test.CONFIG += recursive
       
    27     autotest.CONFIG += recursive
       
    28     build_pass {
       
    29         test.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe
       
    30         autotest.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe -xml -o c:/ut_cpplugin.xml
       
    31         }
       
    32 }
       
    33 QMAKE_EXTRA_TARGETS += test autotest
       
    34 
       
    35 
       
    36 
       
    37 DEPENDPATH += .
       
    38 
       
    39 INCLUDEPATH += . \
       
    40 							 ../../../src/inc \
       
    41                ../../../src/cpframework/src \
       
    42                ../../../controlpanel_plat/inc
       
    43 
       
    44 LIBS += -lcpframework
       
    45 
       
    46 # Input
       
    47 HEADERS += src/ut_cpplugin.h
       
    48 HEADERS += ../../../src/cpframework/src/cppluginloader.h
       
    49 HEADERS += ../../../src/cpframework/src/cppluginconfigreader.h
       
    50 HEADERS += ../../../src/cpframework/src/cputility.h
       
    51 SOURCES += src/ut_cpplugin.cpp
       
    52 SOURCES += ../../../src/cpframework/src/cppluginloader.cpp
       
    53 SOURCES += ../../../src/cpframework/src/cppluginconfigreader.cpp
       
    54 SOURCES += ../../../src/cpframework/src/cppluginconfig.cpp
       
    55 SOURCES += ../../../src/cpframework/src/cputility.cpp