creator/creator.pro
branchRCL_3
changeset 22 fad26422216a
parent 21 b3cee849fa46
child 23 f8280f3bfeb7
equal deleted inserted replaced
21:b3cee849fa46 22:fad26422216a
     1 TEMPLATE = app
       
     2 TARGET = Creator
       
     3 
       
     4 DEPENDPATH += .
       
     5 DEPENDPATH += src engine/src
       
     6 INCLUDEPATH += inc engine/inc
       
     7 
       
     8 load(hb.prf)
       
     9 symbian:CONFIG -= symbian_i18n
       
    10 
       
    11 HEADERS += \
       
    12 	inc/mainview.h \
       
    13 	inc/notifications.h
       
    14 
       
    15 SOURCES += main.cpp \
       
    16 	src/mainview.cpp \
       
    17 	src/notifications.cpp
       
    18 
       
    19 symbian: {
       
    20         INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    21 	HEADERS += engine/inc/creator.hrh \
       
    22 			engine/inc/creator_calendar.h \
       
    23 			engine/inc/creator_calendarbase.h \
       
    24 			engine/inc/creator_calendarelement.h \
       
    25 			engine/inc/creator_cmdscriptrun.h \
       
    26 			engine/inc/creator_contactelement.h \
       
    27 			engine/inc/creator_contactsetcache.h \
       
    28 			engine/inc/creator_factory.h \
       
    29 			engine/inc/creator_file.h \
       
    30 			engine/inc/creator_fileelement.h \
       
    31 			engine/inc/creator_landmark.h \
       
    32 			engine/inc/creator_landmarkelement.h \
       
    33 			engine/inc/creator_log.h \
       
    34 			engine/inc/creator_logelement.h \
       
    35 			engine/inc/creator_mailbox.h \
       
    36 			engine/inc/creator_mailboxelement.h \
       
    37 			engine/inc/creator_message.h \
       
    38 			engine/inc/creator_messageelement.h \
       
    39 			engine/inc/creator_modulebase.h \
       
    40 			engine/inc/creator_note.h \
       
    41 			engine/inc/creator_notepadwrapper.h \
       
    42 			engine/inc/creator_phonebook.h \
       
    43 			engine/inc/creator_phonebookwrapper.h \
       
    44 			engine/inc/creator_phonebookapi.h \
       
    45 			engine/inc/creator_phonebookbase.h \
       
    46 			engine/inc/creator_randomdatafield.h \
       
    47 			engine/inc/creator_randomdataparser.h \
       
    48 			engine/inc/creator_scriptelement.h \
       
    49 			engine/inc/creator_scriptelementfactory.h \
       
    50 			engine/inc/creator_scriptentry.h \
       
    51 			engine/inc/creator_scriptparser.h \
       
    52 			engine/inc/creator_std.h \
       
    53 			engine/inc/creator_traces.h \
       
    54 			engine/inc/creator_wepsecuritysettings.h \
       
    55 			engine/inc/randomdata.txt \
       
    56 			inc/engine.h \
       
    57 			inc/enginewrapper.h
       
    58 
       
    59 	SOURCES += engine/src/creator_calendar.cpp \
       
    60 			engine/src/creator_calendarelement.cpp \
       
    61 			engine/src/creator_cmdscriptrun.cpp \
       
    62 			engine/src/creator_contactelement.cpp \
       
    63 			engine/src/creator_contactsetcache.cpp \
       
    64 			engine/src/creator_factory.cpp \
       
    65 			engine/src/creator_file.cpp \
       
    66 			engine/src/creator_fileelement.cpp \
       
    67 			engine/src/creator_landmark.cpp \
       
    68 			engine/src/creator_landmarkelement.cpp \
       
    69 			engine/src/creator_log.cpp \
       
    70 			engine/src/creator_logelement.cpp \
       
    71 			engine/src/creator_mailbox.cpp \
       
    72 			engine/src/creator_mailboxelement.cpp \
       
    73 			engine/src/creator_message.cpp \
       
    74 			engine/src/creator_messageelement.cpp \
       
    75 			engine/src/creator_note.cpp \
       
    76 			engine/src/creator_notepadwrapper.cpp \
       
    77 			engine/src/creator_phonebook.cpp \
       
    78 			engine/src/creator_phonebookwrapper.cpp \
       
    79 			engine/src/creator_phonebookapi.cpp \
       
    80 			engine/src/creator_phonebookbase.cpp \
       
    81 			engine/src/creator_randomdataparser.cpp \
       
    82 			engine/src/creator_scriptelement.cpp \
       
    83 			engine/src/creator_scriptelementfactory.cpp \
       
    84 			engine/src/creator_scriptentry.cpp \
       
    85 			engine/src/creator_scriptparser.cpp \
       
    86 			src/engine.cpp \
       
    87 			src/enginewrapper.cpp
       
    88 
       
    89 	LIBS += -lestor \
       
    90 			-lws32 \
       
    91 			-lPlatformEnv \
       
    92 			-limageconversion \
       
    93 			-leikcore \
       
    94 			-leuser \
       
    95 			-lapparc \
       
    96 			-lcone \ 
       
    97 			-lcntmodel \
       
    98 			-lmsgs \
       
    99 			-llogwrap \
       
   100 			-llogcli \
       
   101 			-lefsrv \
       
   102 			-lgsmu \
       
   103 			-limcm \
       
   104 			-lbafl \ 
       
   105 			-leikcoctl \ 
       
   106 			-leikctl \
       
   107 			-lcommdb \
       
   108 			-letext \ 
       
   109 			-lcommonengine \ 
       
   110 			-lcommonui \ 
       
   111 			-lplatformenv \ 
       
   112 			-lapgrfx \
       
   113 			-lapmime \
       
   114 			-lobexmtmutil \
       
   115 			-lsmcm \
       
   116 			-laknskins \
       
   117 			-laknskinsrv \ 
       
   118 			-lflogger \
       
   119 			-letel \
       
   120 			-letelmm \
       
   121 			-lxmlframework \
       
   122 			-lcharconv \ 
       
   123 			-lsenutils \
       
   124 			-lcalinterimapi \
       
   125 			-leposlandmarks \
       
   126 			-llbs \
       
   127 			-lecom \
       
   128 			-lcaf \
       
   129 			-lcafutils \ 
       
   130 			-ldrmrights \
       
   131 			-ledbms \
       
   132 			-lfbscli \
       
   133 			-lbitmaptransforms \
       
   134 			-lcmmanager \
       
   135 			-lcmmanagerdatabase \
       
   136 			-lnoteseditor \
       
   137 			-lxqservice \
       
   138 		    -lQtContacts \
       
   139 			-lagendainterface 
       
   140 
       
   141 	creatorDataBlock = \
       
   142 			"SOURCEPATH ." \
       
   143 			"START RESOURCE data/datacreator.rss" \
       
   144 			"HEADER" \
       
   145 			"TARGETPATH /resource/apps" \
       
   146 			"END"
       
   147 
       
   148 	MMP_RULES += creatorDataBlock
       
   149 
       
   150     BLD_INF_RULES.prj_exports += "./rom/creator.iby CORE_IBY_EXPORT_PATH(tools,creator.iby)
       
   151 	BLD_INF_RULES.prj_exports += \
       
   152 				"./files/backup_registration.xml    Z:/private/20011383/backup_registration.xml" \
       
   153 				"./files/3GPP-70kB.dat              Z:/private/20011383/3GPP-70kB.3gpp" \
       
   154 				"./files/AAC-100kB.dat              Z:/private/20011383/AAC-100kB.aac" \
       
   155 				"./files/AMR-20kB.dat               Z:/private/20011383/AMR-20kB.amr" \
       
   156 				"./files/BMP-25kB.dat               Z:/private/20011383/BMP-25kB.bmp" \
       
   157 				"./files/Deck-1kB.dat               Z:/private/20011383/Deck-1kB.saveddeck" \
       
   158 				"./files/DOC-20kB.dat               Z:/private/20011383/DOC-20kB.doc" \
       
   159 				"./files/GIF-2kB.dat                Z:/private/20011383/GIF-2kB.gif" \
       
   160 				"./files/HTML-20kB.dat              Z:/private/20011383/HTML-20kB.html" \
       
   161 				"./files/JAD-1kB.dat                Z:/private/20011383/JAD-1kB.jad" \
       
   162 				"./files/JAR-10kB.dat               Z:/private/20011383/JAR-10kB.jar" \
       
   163 				"./files/JP2-65kB.dat               Z:/private/20011383/JP2-65kB.jp2" \
       
   164 				"./files/JPEG-200kB.dat             Z:/private/20011383/JPEG-200kB.jpg" \
       
   165 				"./files/JPEG-25kB.dat              Z:/private/20011383/JPEG-25kB.jpg" \
       
   166 				"./files/JPEG-500kB.dat             Z:/private/20011383/JPEG-500kB.jpg" \
       
   167 				"./files/MIDI-10kB.dat              Z:/private/20011383/MIDI-10kB.mid" \
       
   168 				"./files/MP3-250kB.dat              Z:/private/20011383/MP3-250kB.mp3" \
       
   169 				"./files/MP4-200kB.dat              Z:/private/20011383/MP4-200kB.mp4" \
       
   170 				"./files/MXMF-40kB.dat              Z:/private/20011383/MXMF-40kB.mxmf" \
       
   171 				"./files/PNG-15kB.dat               Z:/private/20011383/PNG-15kB.png" \
       
   172 				"./files/PPT-40kB.dat               Z:/private/20011383/PPT-40kB.ppt" \
       
   173 				"./files/RAM-1kB.dat                Z:/private/20011383/RAM-1kB.ram" \
       
   174 				"./files/RM-95kB.dat                Z:/private/20011383/RM-95kB.rm" \
       
   175 				"./files/RNG-1kB.dat                Z:/private/20011383/RNG-1kB.rng" \
       
   176 				"./files/SVG-15kB.dat               Z:/private/20011383/SVG-15kB.svg" \
       
   177 				"./files/SWF-15kB.dat               Z:/private/20011383/SWF-15kB.swf" \
       
   178 				"./files/TIF-25kB.dat               Z:/private/20011383/TIF-25kB.tif" \
       
   179 				"./files/TXT-10kB.dat               Z:/private/20011383/TXT-10kB.txt" \
       
   180 				"./files/TXT-70kB.dat               Z:/private/20011383/TXT-70kB.txt" \
       
   181 				"./files/VCF-1kB.dat                Z:/private/20011383/VCF-1kB.vcf" \
       
   182 				"./files/VCS-1kB.dat                Z:/private/20011383/VCS-1kB.vcs" \
       
   183 				"./files/WAV-20kB.dat               Z:/private/20011383/WAV-20kB.wav" \
       
   184 				"./files/XLS-15kB.dat               Z:/private/20011383/XLS-15kB.xls" \
       
   185 				"./files/SISX-10kB.dat              Z:/private/20011383/SISX-10kB.sisx" \
       
   186 				"./files/WMA-50kB.dat               Z:/private/20011383/WMA-50kB.wma" \
       
   187 				"./files/WMV-200kB.dat              Z:/private/20011383/WMV-200kB.wmv" \
       
   188 				"./scripts/creator.xsd                   +/tools/s60rndtools/creator/creator.xsd" \
       
   189 				"./scripts/browserEx.creatorxml          +/tools/s60rndtools/creator/browserEx.creatorxml" \
       
   190 				"./scripts/calendarEx.creatorxml         +/tools/s60rndtools/creator/calendarEx.creatorxml" \
       
   191 				"./scripts/connectionmethodEx.creatorxml +/tools/s60rndtools/creator/connectionmethodEx.creatorxml" \
       
   192 				"./scripts/contactEx.creatorxml          +/tools/s60rndtools/creator/contactEx.creatorxml" \
       
   193 				"./scripts/filesEx.creatorxml            +/tools/s60rndtools/creator/filesEx.creatorxml" \
       
   194 				"./scripts/landmarkEx.creatorxml         +/tools/s60rndtools/creator/landmarkEx.creatorxml" \
       
   195 				"./scripts/logEx.creatorxml              +/tools/s60rndtools/creator/logEx.creatorxml" \
       
   196 				"./scripts/mailboxEx.creatorxml          +/tools/s60rndtools/creator/mailboxEx.creatorxml" \
       
   197 				"./scripts/messagesEx.creatorxml         +/tools/s60rndtools/creator/messagesEx.creatorxml" \
       
   198 				"./scripts/notepadEx.creatorxml          +/tools/s60rndtools/creator/notepadEx.creatorxml" 
       
   199     
       
   200     creator_buildstubsis_extension = \
       
   201         "$${LITERAL_HASH}ifdef MARM" \
       
   202         "    START EXTENSION app-services/buildstubsis" \
       
   203         "    OPTION SRCDIR sis" \
       
   204         "    OPTION SISNAME creator_stub" \
       
   205         "    END" \
       
   206         "$${LITERAL_HASH}endif" 
       
   207         
       
   208     BLD_INF_RULES.prj_extensions += creator_buildstubsis_extension
       
   209     
       
   210 	RSS_RULES += "group_name = \"RnD Tools\"";
       
   211 	TARGET.CAPABILITY = CAP_APPLICATION AllFiles
       
   212 
       
   213 	TARGET.UID2 = 0x100039CE
       
   214 	TARGET.UID3 = 0x20011383
       
   215 	TARGET.SID = 0x20011383
       
   216 	TARGET.VID = 0x101FB657 // Nokia
       
   217 	TARGET.EPOCHEAPSIZE = 0x20000 0x1000000  // Min 128Kb, Max 16Mb
       
   218 
       
   219 	ICON = icons/qgn_menu_creator.svg 
       
   220 
       
   221 } else {
       
   222 	error("Only Symbian supported!")
       
   223 }