cmmanager/cmapplsettingsui/cmapplsettingsui.pro
changeset 20 9c97ad6591ae
child 56 dd6aaa97e7b1
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
       
     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:
       
    15 # CM Manager Application Settings UI project file.
       
    16 #
       
    17 
       
    18 TEMPLATE = lib
       
    19 TARGET = cmapplsettingsui
       
    20 TARGET.CAPABILITY = ALL -TCB
       
    21 DEFINES += BUILD_CMAPPLSETTINGSUI_DLL 
       
    22 DEPENDPATH += .
       
    23 INCLUDEPATH += inc
       
    24 
       
    25 # Temporary solution to fix tracecompiler
       
    26 # When tracecompiler is fixed, this can be removed
       
    27 symbian: {
       
    28     MMP_RULES += "USERINCLUDE traces"
       
    29 }
       
    30 
       
    31 CONFIG += hb
       
    32 RESOURCES = res/cmapplsettingsui.qrc
       
    33 
       
    34 TRANSLATIONS = cmapplsettingsui.ts
       
    35 
       
    36 #Store generated files to their own directory
       
    37 MOC_DIR = build
       
    38 RCC_DIR = build
       
    39 
       
    40 HEADERS += \
       
    41     ../../ipcm_plat/connection_settings_ui_api/inc/cmapplsettingsui.h \
       
    42     inc/cmapplsettingsui_p.h \
       
    43     inc/cmradiodialog.h \
       
    44     inc/cmsettingdata.h \
       
    45     traces/OstTraceDefinitions.h
       
    46     
       
    47 SOURCES += \
       
    48     src/cmapplsettingsui.cpp \
       
    49     src/cmapplsettingsui_p.cpp \
       
    50     src/cmsettingdata.cpp \
       
    51     src/cmradiodialog.cpp
       
    52 
       
    53 # Temporary export directory definition
       
    54 # This can be removed when the default has changed to "." from ".."
       
    55 mmpRuleDeffile = \
       
    56     "$${LITERAL_HASH}ifdef WINSCW" \
       
    57     "DEFFILE ./bwins/cmapplsettingsui.def" \
       
    58     "$${LITERAL_HASH}else" \
       
    59     "DEFFILE ./eabi/cmapplsettingsui.def" \
       
    60     "$${LITERAL_HASH}endif"
       
    61 
       
    62 symbian: {
       
    63     TARGET.UID3 = 0x2002DC89
       
    64     TARGET.EPOCALLOWDLLDATA = 1
       
    65     MMP_RULES += mmpRuleDeffile
       
    66     SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    67     BLD_INF_RULES.prj_exports += "rom/cmapplsettingsui.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cmapplsettingsui.iby)"
       
    68     BLD_INF_RULES.prj_exports += "rom/cmapplsettingsui_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cmapplsettingsui_resources.iby)"
       
    69     LIBS += -lcmmanager -lconnection_settings_shim
       
    70 }