controlpanel/src/cpframework/cpframework.pro
author hgs
Fri, 16 Apr 2010 11:40:46 +0800
changeset 36 48848d132687
parent 32 20bd089f4aaa
child 39 c044bc2ea8f7
permissions -rw-r--r--
201015
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 = lib
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    18
TARGET = cpframework
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    19
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    20
include ( ../common.pri )
32
hgs
parents: 31
diff changeset
    21
include ( ../logger/logger.pri)
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    22
include ( ./cpframework.pri )
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    23
include ( ../../controlpanel_plat/inc/controlpanel_plat.pri )
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    24
36
hgs
parents: 32
diff changeset
    25
RESOURCES += cpframework.qrc
hgs
parents: 32
diff changeset
    26
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    27
symbian: { 
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    28
    TARGET.UID3 = 0x20025FDA
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    29
}
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    30
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    31
CONFIG += Hb xml
32
hgs
parents: 31
diff changeset
    32
DEFINES += BUILD_CP_FRAMEWORK BUILD_LOGGER_DLL
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    33
                    
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    34
symbian: {  
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    35
    # export headers to mw
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    36
    EXPORT_PLATFORM_HEADERS += \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    37
                             ../../controlpanel_plat/inc/cpglobal.h \
36
hgs
parents: 32
diff changeset
    38
                             ../../controlpanel_plat/inc/cpbasepath.h \
32
hgs
parents: 31
diff changeset
    39
                             ../../controlpanel_plat/inc/cpplugininterface.h \
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    40
                             ../../controlpanel_plat/inc/cppluginplatinterface.h \
32
hgs
parents: 31
diff changeset
    41
                             ../../controlpanel_plat/inc/cppluginloader.h \
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    42
                             ../../controlpanel_plat/inc/cppluginlauncher.h \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    43
                             ../../controlpanel_plat/inc/cpbasesettingview.h \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    44
                             ../../controlpanel_plat/inc/cpitemdatahelper.h \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    45
                             ../../controlpanel_plat/inc/cpsettingformitemdata.h \
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    46
                             ../../controlpanel_plat/inc/cpsettingformentryitemdata.h \
32
hgs
parents: 31
diff changeset
    47
                             ../../controlpanel_plat/inc/cpsettingformentryitemdataimpl.h \
36
hgs
parents: 32
diff changeset
    48
                             ../../controlpanel_plat/inc/cppluginutility.h \
hgs
parents: 32
diff changeset
    49
                             ../../controlpanel_plat/inc/cplauncherinterface.h
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    50
    
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    51
    headers.sources = $$EXPORT_PLATFORM_HEADERS
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    52
    for(header, headers.sources):BLD_INF_RULES.prj_exports += "./$$header $$MW_LAYER_PLATFORM_EXPORT_PATH($$basename(header))"
36
hgs
parents: 32
diff changeset
    53
    
hgs
parents: 32
diff changeset
    54
    
hgs
parents: 32
diff changeset
    55
	# export widgetml files	
hgs
parents: 32
diff changeset
    56
    widgetmls.path = C:/resource/controlpanel/widgetml
hgs
parents: 32
diff changeset
    57
    widgetmls.sources += widgetml/cpdataformlistentryviewitem.css \
hgs
parents: 32
diff changeset
    58
                         widgetml/cpdataformlistentryviewitem.widgetml
hgs
parents: 32
diff changeset
    59
    for(widgetmlfile, widgetmls.sources):BLD_INF_RULES.prj_exports += "./$$widgetmlfile  $$widgetmls.path/$$basename(widgetmlfile)" 
hgs
parents: 32
diff changeset
    60
    
hgs
parents: 32
diff changeset
    61
    # export icon files	
hgs
parents: 32
diff changeset
    62
    icons.path = C:/resource/controlpanel/icon
hgs
parents: 32
diff changeset
    63
    icons.sources += icon/qgn_prop_set_default_sub.svg
hgs
parents: 32
diff changeset
    64
    for(iconfile, icons.sources):BLD_INF_RULES.prj_exports += "./$$iconfile  $$icons.path/$$basename(iconfile)" 
hgs
parents: 32
diff changeset
    65
    
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    66
}
32
hgs
parents: 31
diff changeset
    67
include (../logger/logger_export.pri)
31
2c9d3aa5bea2 201003_2
hgs
parents:
diff changeset
    68