messagingapp/msgutils/unidatautils/unidatamodelloader/tsrc/unittest_unidatamodelloader/testunidatamodelloader.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 TARGET = testunidatamodelloader
       
    22 
       
    23 CONFIG += hb
       
    24 CONFIG += symbian_test
       
    25 
       
    26 
       
    27 INCLUDEPATH += inc
       
    28 INCLUDEPATH += ../../../../../../inc
       
    29 INCLUDEPATH += ../../../../../../../inc
       
    30 INCLUDEPATH += ../../../../../../../../../../epoc32/include/platform/mw
       
    31 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    32 
       
    33 DEFINES += BUILD_TEST_DLL
       
    34 
       
    35 SOURCES += \
       
    36 	src/testunidatamodelloader.cpp
       
    37 
       
    38 				
       
    39 # Input
       
    40 HEADERS += \
       
    41 	inc/testunidatamodelloader.h
       
    42 	
       
    43 	 	   			 
       
    44    
       
    45 SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    46     symbian {
       
    47     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    48     TARGET.EPOCSTACKSIZE = 0x8000
       
    49     TARGET.EPOCHEAPSIZE = 0x1000 0x1F00000
       
    50     TARGET.EPOCALLOWDLLDATA = 1
       
    51     BLD_INF_RULES.prj_exports += "testunidatamodelloader.cfg c:/testunidatamodelloader.cfg"
       
    52     BLD_INF_RULES.prj_exports += "data/SmileyFace.gif    	 c:/SmileyFace.gif"
       
    53     BLD_INF_RULES.prj_exports += "data/sample.txt            c:/sample.txt"
       
    54     		}
       
    55 
       
    56 
       
    57 
       
    58 packageheader = "$${LITERAL_HASH}{\"QTestUnidataModelLoader\"},(0xEadfc3ef.),1,0,0,TYPE=SA"
       
    59 
       
    60 vendorinfo = \
       
    61 			"; Localised Vendor name" \
       
    62 			"%{\"Nokia\"}" \
       
    63 			"; Unique Vendor name" \
       
    64 			":\"Nokia\"" 
       
    65 			
       
    66 dependencyinfo = \
       
    67 				"; Default HW/platform dependencies" \
       
    68 				"[0x101F7961],0,0,0,{\"S60ProductID\"}" \
       
    69 				"[0x2001E61C],4,6,3,{"Qt"}
       
    70 				
       
    71 default_deployment.pkg_prerules =	packageheader \
       
    72 									vendorinfo \
       
    73 									dependencyinfo 
       
    74 
       
    75 
       
    76  LIBS += -leuser \
       
    77 	-lconvergedmessageutils\
       
    78 	-lmsgs \
       
    79 	-lsmcm \
       
    80 	-lgsmu \
       
    81 	-letext \
       
    82 	-lmsgs \
       
    83 	-lunidatamodelloader\
       
    84 	-lQtCore \
       
    85 	-lbioc \
       
    86 	-lefsrv \
       
    87 	-lbiodb \
       
    88      -lxqutils \
       
    89 	-lbifu
       
    90 	
       
    91 #Copy the dependent DLL
       
    92 symbian: {
       
    93 	addCfg.sources = ./data/testunidatamodelloader.cfg
       
    94 	addCfg.path = C:/
       
    95 	DEPLOYMENT += addCfg
       
    96 
       
    97 	addP2.sources = ./data/SmileyFace.gif
       
    98 	addP2.path = C:/
       
    99 	DEPLOYMENT += addP2
       
   100 
       
   101 	addP3.sources = ./data/sample.txt
       
   102 	addP3.path = C:/
       
   103 	DEPLOYMENT += addP3	
       
   104 
       
   105 	}
       
   106