controlpanel/src/cpframework/cpframework.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 13:56:17 +0300
changeset 29 56ba5cd39aab
parent 21 851e19007849
child 43 3341fe7c643a
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

#
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description: 
#

TEMPLATE = lib
TARGET = cpframework

include ( ../common.pri )
include ( ../logger/logger.pri)
include ( ./cpframework.pri )
include ( ../../controlpanel_plat/inc/controlpanel_plat.pri )

RESOURCES += cpframework.qrc

symbian: { 
    TARGET.UID3 = 0x20025FDA
}

CONFIG += Hb xml
DEFINES += BUILD_CP_FRAMEWORK BUILD_LOGGER_DLL
                    
symbian: {  
    # export headers to mw
    EXPORT_PLATFORM_HEADERS += \
                             ../../controlpanel_plat/inc/cpglobal.h \
                             ../../controlpanel_plat/inc/cpbasepath.h \
                             ../../controlpanel_plat/inc/cpplugininterface.h \
                             ../../controlpanel_plat/inc/cppluginplatinterface.h \
                             ../../controlpanel_plat/inc/cppluginloader.h \
                             ../../controlpanel_plat/inc/cppluginlauncher.h \
                             ../../controlpanel_plat/inc/cpbasesettingview.h \
                             ../../controlpanel_plat/inc/cpitemdatahelper.h \
                             ../../controlpanel_plat/inc/cpsettingformitemdata.h \
                             ../../controlpanel_plat/inc/cpsettingformentryitemdata.h \
                             ../../controlpanel_plat/inc/cpsettingformentryitemdataimpl.h \
                             ../../controlpanel_plat/inc/cppluginutility.h \
                             ../../controlpanel_plat/inc/cplauncherinterface.h
    
    headers.sources = $$EXPORT_PLATFORM_HEADERS
    for(header, headers.sources):BLD_INF_RULES.prj_exports += "./$$header $$MW_LAYER_PLATFORM_EXPORT_PATH($$basename(header))"
    
    
	# export widgetml files	
    widgetmls.path = C:/resource/controlpanel/widgetml
    widgetmls.sources += widgetml/cpdataformlistentryviewitem.css \
                         widgetml/cpdataformlistentryviewitem.widgetml \
                         widgetml/cpdataformlistentryviewitem_color.css 
    for(widgetmlfile, widgetmls.sources):BLD_INF_RULES.prj_exports += "./$$widgetmlfile  $$widgetmls.path/$$basename(widgetmlfile)" 
    
    # export icon files	
    icons.path = C:/resource/controlpanel/icon
    icons.sources += icon/qgn_prop_set_default_sub.svg
    for(iconfile, icons.sources):BLD_INF_RULES.prj_exports += "./$$iconfile  $$icons.path/$$basename(iconfile)" 
    
}
include (../logger/logger_export.pri)