forked from geometer/FBReader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
69 lines (58 loc) · 1.24 KB
/
build.bat
File metadata and controls
69 lines (58 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
rem ugly build script
@echo off
if "%2" == "run" goto run
if "%1" == "third" goto third
if "%1" == "core" goto core
if "%1" == "text" goto text
if "%1" == "ui" goto ui
if "%1" == "fb" goto fb
echo Error: not enough arguments.
echo Usage:
echo build target [action]
echo target: "third | core | text | ui | fb"
echo action: "build (default), clean, init, run"
goto end
:third
cd third-party\symbian\expat-2.0.1\symbian
bldmake bldfiles
call abld clean
call abld build winscw udeb
cd ..\..\..\..
cd third-party\symbian\SQLiteS60\SQLite60\group
bldmake bldfiles
call abld clean
call abld build winscw udeb
cd ..\..\..\..\..
goto end
:core
cd zlibrary\core
if "%2" == "init" bldmake bldfiles
if "%2" == "clean" abld clean
call abld build winscw udeb
cd ..\..
goto end
:text
cd zlibrary\text
if "%2" == "init" bldmake bldfiles
if "%2" == "clean" abld clean
call abld build winscw udeb
cd ..\..
goto end
:ui
cd zlibrary\ui
if "%2" == "init" bldmake bldfiles
if "%2" == "clean" abld clean
call abld build winscw udeb
cd ..\..
goto end
:fb
cd fbreader
if "%2" == "init" bldmake bldfiles
if "%2" == "clean" abld clean
call abld build winscw udeb
cd ..
goto end
:run
C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\fbreader
goto end
:end