1 # |
|
2 # Copyright (c) 2010 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: Project file for the RFS Plugin. It creates the bld.inf and .mmp file on executing |
|
15 # qmake command. |
|
16 # |
|
17 # |
|
18 |
|
19 TEMPLATE = lib |
|
20 TARGET = cppsmplugin |
|
21 DEPENDPATH += . inc src |
|
22 INCLUDEPATH += . |
|
23 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
24 |
|
25 CONFIG += hb\ |
|
26 plugin |
|
27 |
|
28 MOC_DIR = moc |
|
29 OBJECTS_DIR = obj |
|
30 RCC_DIR = rcc |
|
31 |
|
32 # Platforms |
|
33 SYMBIAN_PLATFORMS = WINSCW \ |
|
34 ARMV5 |
|
35 |
|
36 LIBS += -lcpframework -lpsmclient -lcentralrepository -lcenrepnotifhandler |
|
37 HEADERS += src/cppsmplugin.h \ |
|
38 src/cppsmview.h |
|
39 |
|
40 SOURCES += src/cppsmplugin.cpp \ |
|
41 src/cppsmview.cpp |
|
42 |
|
43 symbian: { |
|
44 TARGET.EPOCALLOWDLLDATA = 1 |
|
45 DEFINES += PLUGINUID3=0x2000E51E |
|
46 TARGET.UID3 = 0x2000E51E |
|
47 } |
|
48 |
|
49 symbian { |
|
50 deploy.path = C: |
|
51 qtplugins.path = /resource/qt/plugins/controlpanel |
|
52 qtplugins.sources += qmakepluginstubs/cppsmplugin.qtplugin |
|
53 # This is for new exporting system coming in garden |
|
54 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
55 } |
|
56 # common translation file for all plugins |
|
57 TRANSLATIONS = powermanagement.ts |
|
58 |
|
59 # Build.inf rules |
|
60 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
61 "rom/cppsmplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cppsmplugin.iby)" \ |
|
62 ".\rom\cppsmplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cppsmplugin_resources.iby)" |
|
63 TARGET.CAPABILITY = All -TCB |
|
64 plugin.sources = cppsmplugin.dll |
|
65 plugin.path = \resource\qt\plugins\controlpanel |
|
66 DEPLOYMENT += plugin |
|