messagingapp/msgutils/unidatautils/unidatamodelplugins/unismsdataplugin/tsrc/unittest_unidatamodelsmsplugin/testunidatamodelsmsplugin.pro
changeset 56 f42d9a78f435
equal deleted inserted replaced
55:5b3b2fa8c3ec 56:f42d9a78f435
       
     1 #
       
     2 # Copyright (c) 2009 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 #
       
    16 
       
    17 QT += testlib
       
    18 QT -= gui
       
    19 
       
    20 TEMPLATE = app
       
    21 //TEMPLATE = lib
       
    22 TARGET = test-unidatamodel-sms-plugin
       
    23 
       
    24 
       
    25 CONFIG += hb
       
    26 CONFIG += symbian_test
       
    27 
       
    28 INCLUDEPATH += inc
       
    29 INCLUDEPATH += ../../../../../../inc
       
    30 INCLUDEPATH += ../../../../../../../inc
       
    31 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    32 
       
    33 DEFINES += BUILD_TEST_DLL
       
    34 
       
    35 SOURCES += \
       
    36 	src/testunidatamodelsmsplugin.cpp
       
    37 
       
    38 				 
       
    39 
       
    40 # Input
       
    41 HEADERS += \
       
    42 	inc/testunidatamodelsmsplugin.h
       
    43 	
       
    44 	   	   			 
       
    45    
       
    46 SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    47     symbian {
       
    48     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    49     TARGET.EPOCSTACKSIZE = 0x8000
       
    50     TARGET.EPOCHEAPSIZE = 0x1000 0x1F00000
       
    51     TARGET.EPOCALLOWDLLDATA = 1
       
    52     BLD_INF_RULES.prj_exports += "data/Testunidatamodelsmsplugin.cfg c:/data/Testunidatamodelsmsplugin.cfg"
       
    53     		}
       
    54 	
       
    55 defBlock = \      
       
    56 	  "$${LITERAL_HASH}if defined(EABI)" \
       
    57 	  "DEFFILE  ../eabi/test_unidatamodel_sms_plugin.def" \
       
    58              "$${LITERAL_HASH}else" \
       
    59              "DEFFILE  ../bwins/test_unidatamodel_sms_plugin.def" \
       
    60              "$${LITERAL_HASH}endif"
       
    61 	
       
    62 MMP_RULES += defBlock
       
    63 		
       
    64 
       
    65 packageheader = "$${LITERAL_HASH}{\"QTestLibCVsClientServerTest\"},(0xEa1ebe60),1,0,0,TYPE=SA"
       
    66 
       
    67 vendorinfo = \
       
    68 			"; Localised Vendor name" \
       
    69 			"%{\"Nokia\"}" \
       
    70 			"; Unique Vendor name" \
       
    71 			":\"Nokia\"" 
       
    72 			
       
    73 dependencyinfo = \
       
    74 				"; Default HW/platform dependencies" \
       
    75 				"[0x101F7961],0,0,0,{\"S60ProductID\"}" \
       
    76 				"[0x2001E61C],4,6,3,{"Qt"}
       
    77 				
       
    78 default_deployment.pkg_prerules =	packageheader \
       
    79 									vendorinfo \
       
    80 									dependencyinfo 
       
    81 
       
    82 
       
    83 
       
    84  LIBS += -leuser \
       
    85 	-lconvergedmessageutils\
       
    86 	-lxqutils \
       
    87 	-lmsgs \
       
    88 	-lsmcm \
       
    89 	-lgsmu \
       
    90 	-letext \
       
    91 	-lmsgs \
       
    92 	-lunidatamodelloader\
       
    93 	-lQtCore
       
    94 	
       
    95 
       
    96 
       
    97 #Copy the dependent DLL
       
    98 symbian: {
       
    99 	addCfg.sources = ./data/Testunidatamodelsmsplugin.cfg
       
   100 	addCfg.path = C:/data
       
   101 	DEPLOYMENT += addCfg
       
   102          }
       
   103