wlanutilities/wlanentryplugin/wlanentryplugin.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:18:40 +0300
branchRCL_3
changeset 24 63be7eb3fc78
permissions -rw-r--r--
Revision: 201029 Kit: 201035

#
# 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: 
# WLAN Entry Plugin Qt project file.
#

TEMPLATE = lib
TARGET = cpwlanentryplugin
DEPENDPATH += .
INCLUDEPATH += .
INCLUDEPATH += traces
# wlanutilities Private API
INCLUDEPATH += ../inc
CONFIG += hb plugin
LIBS += -lwlanqtutilities -lcpframework -lxqservice -lxqserviceutil -lqtsysteminfo -lxqsettingsmanager

# Temporary solution to fix tracecompiler
# When tracecompiler is fixed, this can be removed
symbian: {
    MMP_RULES += "USERINCLUDE traces"
}

#Store generated files to their own directory
MOC_DIR = build
RCC_DIR = build

# Sources
HEADERS += \
    inc/cpwlanentryplugin.h \
    inc/cpwlanentryitemdata.h \
    inc/wlanstatusinfo.h \
    traces/OstTraceDefinitions.h
SOURCES += \
    src/cpwlanentryplugin.cpp \
    src/cpwlanentryitemdata.cpp \
    src/wlanstatusinfo.cpp

TRANSLATIONS = wlanentryplugin.ts

symbian: { 
    TARGET.EPOCALLOWDLLDATA = 1
    TARGET.UID3 = 0x2002BCE0
    SYMBIAN_PLATFORMS = WINSCW ARMV5
    BLD_INF_RULES.prj_exports += "rom/wlanentryplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanentryplugin.iby)"
    BLD_INF_RULES.prj_exports += "rom/wlanentryplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(wlanentryplugin_resources.iby)"
    
    # Enable for QtHighway tracing
    # DEFINES += WLANENTRYPLUGIN_SERVICETRACES
}
symbian { 
    deploy.path = C:
    qtplugins.path = /resource/qt/plugins/controlpanel
    qtplugins.sources += qmakepluginstubs/cpwlanentryplugin.qtplugin
    
    # This is for new exporting system coming in garden
    for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
}
TARGET.CAPABILITY = CAP_GENERAL_DLL
plugin.sources = cpwlanentryplugin.dll xqservice.dll
plugin.path = /resource/qt/plugins/controlpanel
DEPLOYMENT += plugin