controlpanel/tsrc/unit/ut_cpapi/ut_cpapi.pro
author hgs
Thu, 10 Jun 2010 16:03:48 +0800
changeset 39 c044bc2ea8f7
parent 36 48848d132687
child 40 6465d5bb863a
permissions -rw-r--r--
201023
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_cpapi
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    19
QT += testlib
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    20
CONFIG += hb qtestlib
39
hgs
parents: 36
diff changeset
    21
CONFIG += symbian_test
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    22
unix {
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    23
    test.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    24
    autotest.commands = /epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe -xml -o c:/ut_cpapi.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_cpapi.exe
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    30
        autotest.commands =/epoc32/RELEASE/WINSCW/udeb/ut_cpapi.exe -xml -o c:/ut_cpapi.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
DEPENDPATH += .
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    36
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    37
INCLUDEPATH += . \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    38
							 src/\
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    39
							 ../../../src/inc \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    40
							 ../../../controlpanel_plat/inc
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    41
							 
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    42
LIBS += -lcpframework
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    43
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    44
# Input
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    45
HEADERS += src/ut_cpapi.h
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    46
SOURCES += src/ut_cpapi.cpp
32
hgs
parents: 31
diff changeset
    47
hgs
parents: 31
diff changeset
    48
symbian {
hgs
parents: 31
diff changeset
    49
	BLD_INF_RULES.prj_exports += "data/controlpanellog.conf C:/data/.config/ut_cpapi/controlpanellog.conf"
hgs
parents: 31
diff changeset
    50
}