-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.bat
executable file
·163 lines (129 loc) · 8.91 KB
/
build.bat
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
pushd %~dp0
if not exist obj mkdir obj
if not exist obj\Release mkdir obj\Release
if not exist obj\Release64 mkdir obj\Release64
if not exist bin mkdir bin
if not exist bin\Release mkdir bin\Release
if not exist bin\Release64 mkdir bin\Release64
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c build_menu.cpp ^
-o obj\Release\build_menu.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_projectSettings_dialog.cpp ^
-o obj\Release\rcbasic_edit_projectSettings_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_replace_dialog.cpp ^
-o obj\Release\rcbasic_edit_replace_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_setColorScheme_dialog.cpp ^
-o obj\Release\rcbasic_edit_setColorScheme_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_editrc_distribute_dialog.cpp ^
-o obj\Release\rcbasic_editrc_distribute_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c tools_menu.cpp ^
-o obj\Release\tools_menu.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c exec_process.cpp ^
-o obj\Release\exec_process.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c help_menu.cpp ^
-o obj\Release\help_menu.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c parserThread.cpp ^
-o obj\Release\parserThread.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c projects.cpp ^
-o obj\Release\projects.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rc_closeFileSavePrompt_dialog.cpp ^
-o obj\Release\rc_closeFileSavePrompt_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rc_closeProjectSavePrompt_dialog.cpp ^
-o obj\Release\rc_closeProjectSavePrompt_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rc_debugger_dialog.cpp ^
-o obj\Release\rc_debugger_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rc_find_dialog.cpp ^
-o obj\Release\rc_find_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rc_ideApp.cpp ^
-o obj\Release\rc_ideApp.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rc_newFile_dialog.cpp ^
-o obj\Release\rc_newFile_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit.cpp ^
-o obj\Release\rcbasic_edit.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_fileProperties_dialog.cpp ^
-o obj\Release\rcbasic_edit_fileProperties_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_frame.cpp ^
-o obj\Release\rcbasic_edit_frame.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_gotoLine_dialog.cpp ^
-o obj\Release\rcbasic_edit_gotoLine_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_newProject_dialog.cpp ^
-o obj\Release\rcbasic_edit_newProject_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_projectEnvironment_dialog.cpp ^
-o obj\Release\rcbasic_edit_projectEnvironment_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_projectVariableEdit_dialog.cpp ^
-o obj\Release\rcbasic_edit_projectVariableEdit_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_searchWrap_dialog.cpp ^
-o obj\Release\rcbasic_edit_searchWrap_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_editrc_cancelDistProcess_dialog.cpp ^
-o obj\Release\rcbasic_editrc_cancelDistProcess_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_editrc_distProcess_dialog.cpp ^
-o obj\Release\rcbasic_editrc_distProcess_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_editrc_genKey_dialog.cpp ^
-o obj\Release\rcbasic_editrc_genKey_dialog.o
call mingw32-g++.exe -Wall -fexceptions -O2 %INCLUDE_PATH% ^
-c rcbasic_edit_preference_dialog.cpp ^
-o obj\Release\rcbasic_edit_preference_dialog.o
call windres.exe -I%WX_HOME%\include -J rc -O coff -i resource.rc -o obj\Release\resource.res
call mingw32-g++.exe %LIB_PATH% -o bin\Release\rcbasic_edit.exe ^
obj\Release\build_menu.o ^
obj\Release\help_menu.o ^
obj\Release\parserThread.o ^
obj\Release\projects.o ^
obj\Release\rc_closeFileSavePrompt_dialog.o ^
obj\Release\rc_closeProjectSavePrompt_dialog.o ^
obj\Release\rc_debugger_dialog.o ^
obj\Release\rc_find_dialog.o ^
obj\Release\rc_ideApp.o ^
obj\Release\rc_newFile_dialog.o ^
obj\Release\rcbasic_edit.o ^
obj\Release\rcbasic_edit_fileProperties_dialog.o ^
obj\Release\rcbasic_edit_frame.o ^
obj\Release\rcbasic_edit_gotoLine_dialog.o ^
obj\Release\rcbasic_edit_newProject_dialog.o ^
obj\Release\rcbasic_edit_projectEnvironment_dialog.o ^
obj\Release\rcbasic_edit_projectSettings_dialog.o ^
obj\Release\rcbasic_edit_projectVariableEdit_dialog.o ^
obj\Release\rcbasic_edit_replace_dialog.o ^
obj\Release\rcbasic_edit_searchWrap_dialog.o ^
obj\Release\rcbasic_edit_setColorScheme_dialog.o ^
obj\Release\rcbasic_editrc_cancelDistProcess_dialog.o ^
obj\Release\rcbasic_editrc_distProcess_dialog.o ^
obj\Release\rcbasic_editrc_distribute_dialog.o ^
obj\Release\rcbasic_editrc_genKey_dialog.o ^
obj\Release\rcbasic_edit_preference_dialog.o ^
obj\Release\tools_menu.o ^
obj\Release\resource.res ^
-Wl,--allow-multiple-definition -s -mwindows ^
%WX_HOME%\lib\%wx_gcc_version%_dll\libwxbase30u.a ^
%WX_HOME%\lib\%wx_gcc_version%_dll\libwxmsw30u_aui.a ^
%WX_HOME%\lib\%wx_gcc_version%_dll\libwxmsw30u_core.a ^
%WX_HOME%\lib\%wx_gcc_version%_dll\libwxmsw30u_stc.a ^
%WX_HOME%\lib\%wx_gcc_version%_dll\libwxscintilla.a ^
%WX_HOME%\lib\%wx_gcc_version%_dll\libwxmsw30u_richtext.a
popd