|
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 QT += testlib |
|
18 CONFIG += hb qtestlib |
|
19 CONFIG += symbian_test |
|
20 |
|
21 TEMPLATE = app |
|
22 TARGET = ut_cppluginconfigreader |
|
23 QMAKE_EXTRA_TARGETS += test autotest |
|
24 |
|
25 DEPENDPATH += . |
|
26 INCLUDEPATH += . ../../src\ |
|
27 ../../../inc |
|
28 |
|
29 include (../unit_common.pri) |
|
30 include(../../../inc/inc.pri) |
|
31 include(../../cpcategorymodel.pri) |
|
32 |
|
33 LIBS += -lcpframework |
|
34 LIBS += -lcpcategorymodel |
|
35 DEFINES += BUILD_CPCATEGORY_GLOBAL |
|
36 |
|
37 symbian { |
|
38 |
|
39 deploy.path = C: |
|
40 configfiles.sources += data/pluginfortest.cpcfg \ |
|
41 data/emptypluginfortest.cpcfg \ |
|
42 data/pluginfilewithwrongchildtag.cpcfg \ |
|
43 data/pluginfilewithemptychildelement.cpcfg \ |
|
44 data/pluginfilewithwrongplugintag.cpcfg \ |
|
45 data/pluginfilewithoutattrs.cpcfg \ |
|
46 data/pluginfilewithwrongdesctag.cpcfg |
|
47 configfiles.path = /resource/qt/plugins/controlpanel/config |
|
48 DEPLOYMENT += configfiles |
|
49 |
|
50 # This is for new exporting system coming in garden |
|
51 for(configfile, configfiles.sources):BLD_INF_RULES.prj_exports += "./$$configfile $$deploy.path$$configfiles.path/$$basename(configfile)" |
|
52 } |
|
53 |
|
54 HEADERS += src/*.h |
|
55 SOURCES += src/*.cpp |