controlpanel/tsrc/unit/ut_cpplugin/ut_cpplugin.pro
author hgs
Fri, 25 Jun 2010 17:09:30 +0800
changeset 40 6465d5bb863a
parent 31 2c9d3aa5bea2
child 61 33e86ecbfdb4
permissions -rw-r--r--
201025
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     1
#
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     2
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     3
# All rights reserved.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     4
# This component and the accompanying materials are made available
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     5
# under the terms of "Eclipse Public License v1.0"
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     6
# which accompanies this distribution, and is available
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     8
#
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
     9
# Initial Contributors:
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    11
#
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    12
# Contributors:
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    13
#
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    14
# Description: 
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    15
#
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    16
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    17
TEMPLATE = app
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    18
TARGET = ut_cpplugin
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    19
QT += testlib
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    20
CONFIG += hb qtestlib
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    21
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    22
unix {
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    23
    test.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    24
    autotest.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe -xml -o c:/ut_cpplugin.xml
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    25
} else:win32 {
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    26
    test.CONFIG += recursive
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    27
    autotest.CONFIG += recursive
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    28
    build_pass {
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    29
        test.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    30
        autotest.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpplugin.exe -xml -o c:/ut_cpplugin.xml
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    31
        }
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    32
}
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    33
QMAKE_EXTRA_TARGETS += test autotest
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    34
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    35
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    36
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    37
DEPENDPATH += .
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    38
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    39
INCLUDEPATH += . \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    40
							 ../../../src/inc \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    41
               ../../../src/cpframework/src \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    42
               ../../../controlpanel_plat/inc
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    43
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    44
LIBS += -lcpframework
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    45
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    46
# Input
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    47
HEADERS += src/ut_cpplugin.h
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    48
HEADERS += ../../../src/cpframework/src/cppluginloader.h
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    49
HEADERS += ../../../src/cpframework/src/cppluginconfigreader.h
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    50
HEADERS += ../../../src/cpframework/src/cputility.h
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    51
SOURCES += src/ut_cpplugin.cpp
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    52
SOURCES += ../../../src/cpframework/src/cppluginloader.cpp
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    53
SOURCES += ../../../src/cpframework/src/cppluginconfigreader.cpp
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    54
SOURCES += ../../../src/cpframework/src/cppluginconfig.cpp
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    55
SOURCES += ../../../src/cpframework/src/cputility.cpp