|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // SQLite C API test application |
|
15 // The "buildrom" command: |
|
16 // buildrom -D_SERIAL_DOWNLOAD -DRVCT -D_EABI=ARMV5 -D_NAND2 -fm=/epoc32/rom/include/featuredatabase.xml h4hrp.oby textshell.oby syslibs_utils.oby sqlite3.iby sqlite3tests.iby openenv.iby bluetooth.iby ups.iby -orombld.img |
|
17 // |
|
18 // |
|
19 |
|
20 /** |
|
21 @file |
|
22 */ |
|
23 #include <e32utrace.mmh> |
|
24 #include "tclsqlite3_macro.mmh" |
|
25 |
|
26 TARGET tclsqlite3.exe |
|
27 TARGETTYPE EXE |
|
28 |
|
29 CAPABILITY All -Tcb |
|
30 |
|
31 UID 0x20004C45 0x10285A82 |
|
32 |
|
33 VENDORID 0x70000001 |
|
34 |
|
35 SMPSAFE |
|
36 |
|
37 EPOCSTACKSIZE 81920 //max 80kb |
|
38 EPOCHEAPSIZE 0x00100000 0x02000000 |
|
39 |
|
40 ////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
41 ///////////////// RVCT compiler warning & optimization options ///////////////////////////////////////// |
|
42 |
|
43 //550: <entity-kind> "entity" was set but never used |
|
44 //C2874W: <name> may be used before being set |
|
45 //368: <entity-kind> "<entity>" defines no constructor to initialize the following: |
|
46 //177-D: variable <name> was declared but never referenced |
|
47 //1293-D: assignment in condition |
|
48 //C3017W: <name> may be used before being set |
|
49 //61: integer operation result is out of range |
|
50 |
|
51 OPTION ARMCC --diag_suppress 550,2874,368,177,1293,3017,61 |
|
52 OPTION ARMCC -Ono_cg_cond |
|
53 |
|
54 ////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
55 ///////////////// CW compiler warning options ////////////////////////////////////////////////////////// |
|
56 |
|
57 //Variable/argument <x> is not used in function |
|
58 //Possible unwanted <x> |
|
59 |
|
60 OPTION CW -w nounused -w nounwanted |
|
61 |
|
62 ////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
63 ///////////////// GCC compiler warning options ///////////////////////////////////////////////////////// |
|
64 |
|
65 //"-w" option suppresses all warnings! |
|
66 //"<variable> might be used uninitialized in this function" - only this warning needs to be suppressed, |
|
67 //but there is no option for that. |
|
68 |
|
69 OPTION GCC -w |
|
70 |
|
71 ////////////////////////////////////////////////////////////////////////////////////////////////////////// |
|
72 |
|
73 USERINCLUDE ../SQLite |
|
74 USERINCLUDE ../OsLayer |
|
75 OS_LAYER_LIBC_SYSTEMINCLUDE |
|
76 OS_LAYER_SYSTEMINCLUDE_SYMBIAN |
|
77 USERINCLUDE ../TEST/TCL/tcldistribution/generic |
|
78 |
|
79 SOURCEPATH ../SQLite |
|
80 SOURCE alter.c |
|
81 SOURCE analyze.c |
|
82 SOURCE attach.c |
|
83 SOURCE auth.c |
|
84 SOURCE bitvec.c |
|
85 SOURCE btree.c |
|
86 SOURCE btmutex.c |
|
87 SOURCE build.c |
|
88 SOURCE callback.c |
|
89 SOURCE complete.c |
|
90 SOURCE date.c |
|
91 SOURCE delete.c |
|
92 SOURCE expr.c |
|
93 SOURCE fault.c |
|
94 SOURCE func.c |
|
95 SOURCE global.c |
|
96 SOURCE hash.c |
|
97 SOURCE insert.c |
|
98 SOURCE journal.c |
|
99 SOURCE legacy.c |
|
100 SOURCE loadext.c |
|
101 SOURCE main.c |
|
102 SOURCE malloc.c |
|
103 SOURCE mem1.c |
|
104 SOURCE mem2.c |
|
105 SOURCE mem3.c |
|
106 SOURCE mem4.c |
|
107 SOURCE mem5.c |
|
108 SOURCE mem6.c |
|
109 SOURCE mutex.c |
|
110 SOURCE opcodes.c |
|
111 SOURCE os.c |
|
112 SOURCE pager.c |
|
113 SOURCE parse.c |
|
114 SOURCE pcache.c |
|
115 SOURCE pragma.c |
|
116 SOURCE prepare.c |
|
117 SOURCE printf.c |
|
118 SOURCE random.c |
|
119 SOURCE resolve.c |
|
120 SOURCE select.c |
|
121 SOURCE status.c |
|
122 SOURCE table.c |
|
123 SOURCE tokenize.c |
|
124 SOURCE trigger.c |
|
125 SOURCE update.c |
|
126 SOURCE utf.c |
|
127 SOURCE util.c |
|
128 SOURCE vacuum.c |
|
129 SOURCE vdbe.c |
|
130 SOURCE vdbeapi.c |
|
131 SOURCE vdbeaux.c |
|
132 SOURCE vdbeblob.c |
|
133 SOURCE vdbefifo.c |
|
134 SOURCE vdbemem.c |
|
135 SOURCE vtab.c |
|
136 SOURCE walker.c |
|
137 SOURCE where.c |
|
138 |
|
139 SOURCEPATH ../TEST/SRC |
|
140 SOURCE tclsqlite.c |
|
141 SOURCE test1.c |
|
142 SOURCE test2.c |
|
143 SOURCE test3.c |
|
144 SOURCE test4.c |
|
145 SOURCE test5.c |
|
146 SOURCE test6.c |
|
147 SOURCE test7.c |
|
148 SOURCE test8.c |
|
149 SOURCE test9.c |
|
150 SOURCE test_async.c |
|
151 SOURCE test_autoext.c |
|
152 SOURCE test_btree.c |
|
153 SOURCE test_config.c |
|
154 SOURCE test_devsym.c |
|
155 SOURCE test_func.c |
|
156 SOURCE test_hexio.c |
|
157 SOURCE test_loadext.c |
|
158 SOURCE test_md5.c |
|
159 SOURCE test_malloc.c |
|
160 SOURCE test_mutex.c |
|
161 SOURCE test_onefile.c |
|
162 SOURCE test_osinst.c |
|
163 SOURCE test_schema.c |
|
164 SOURCE test_server.c |
|
165 SOURCE test_tclvar.c |
|
166 SOURCE test_thread.c |
|
167 |
|
168 SOURCEPATH ../OsLayer |
|
169 SOURCE FileBuf64.cpp |
|
170 SOURCE os_symbian_mt.cpp |
|
171 #ifdef WINSCW |
|
172 SOURCE os_symbian_emul.cpp |
|
173 #else |
|
174 SOURCE os_symbian_hrdw.cpp |
|
175 #endif |
|
176 SOURCE test_fileutil.cpp |
|
177 |
|
178 LIBRARY euser.lib |
|
179 LIBRARY efsrv.lib |
|
180 LIBRARY estor.lib |
|
181 |
|
182 STATICLIBRARY libcrt0.lib |
|
183 LIBRARY libc.lib |
|
184 LIBRARY libpthread.lib |
|
185 LIBRARY libm.lib |
|
186 LIBRARY libdl.lib |
|
187 STATICLIBRARY tcl.lib |
|
188 #ifdef WINSCW |
|
189 LIBRARY ewsd.lib |
|
190 #endif |