Skip to content

Commit 3f6b469

Browse files
Update Lua to 5.3.5
1 parent 3b6f2d7 commit 3f6b469

File tree

2 files changed

+69
-17
lines changed

2 files changed

+69
-17
lines changed

build/buildmsvc_lua53.bat

+68-16
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,179 @@
1+
cd ravi-external-libs
2+
rmdir build /s /q
3+
mkdir build
4+
cd build
5+
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -G "Visual Studio 15 2017 Win64" ..
6+
if %errorlevel% neq 0 exit /b %errorlevel%
7+
cmake --build . --config Release --target INSTALL
8+
if %errorlevel% neq 0 exit /b %errorlevel%
9+
cd ..\..
10+
111
cd lua
2-
rmdir build /s
12+
rmdir build /s /q
313
mkdir build
414
cd build
515
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -G "Visual Studio 15 2017 Win64" ..
16+
if %errorlevel% neq 0 exit /b %errorlevel%
617
cmake --build . --config Release --target INSTALL
18+
if %errorlevel% neq 0 exit /b %errorlevel%
719
cd ..\..
820

921
cd ravi-ffi
10-
rmdir build /s
22+
rmdir build /s /q
1123
mkdir build
1224
cd build
1325
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
26+
if %errorlevel% neq 0 exit /b %errorlevel%
1427
cmake --build . --config Release --target INSTALL
28+
if %errorlevel% neq 0 exit /b %errorlevel%
1529
cd ..\..
1630

1731
cd ravi-torch-paths
18-
rmdir build /s
32+
rmdir build /s /q
1933
mkdir build
2034
cd build
2135
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
36+
if %errorlevel% neq 0 exit /b %errorlevel%
2237
cmake --build . --config Release --target INSTALL
38+
if %errorlevel% neq 0 exit /b %errorlevel%
2339
cd ..\..
2440

2541
cd ravi-torch7-sys
26-
rmdir build /s
42+
rmdir build /s /q
2743
mkdir build
2844
cd build
2945
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
46+
if %errorlevel% neq 0 exit /b %errorlevel%
3047
cmake --build . --config Release --target INSTALL
48+
if %errorlevel% neq 0 exit /b %errorlevel%
3149
cd ..\..
3250

3351
cd ravi-torch7
34-
rmdir build /s
52+
rmdir build /s /q
3553
mkdir build
3654
cd build
3755
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
56+
if %errorlevel% neq 0 exit /b %errorlevel%
3857
cmake --build . --config Release --target INSTALL
58+
if %errorlevel% neq 0 exit /b %errorlevel%
3959
cd ..\..
4060

4161
cd ravi-torch7-xlua
42-
rmdir build /s
62+
rmdir build /s /q
4363
mkdir build
4464
cd build
4565
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
66+
if %errorlevel% neq 0 exit /b %errorlevel%
4667
cmake --build . --config Release --target INSTALL
68+
if %errorlevel% neq 0 exit /b %errorlevel%
4769
cd ..\..
4870

4971
cd ravi-moses
50-
rmdir build /s
72+
rmdir build /s /q
5173
mkdir build
5274
cd build
5375
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
76+
if %errorlevel% neq 0 exit /b %errorlevel%
5477
cmake --build . --config Release --target INSTALL
78+
if %errorlevel% neq 0 exit /b %errorlevel%
5579
cd ..\..
5680

5781
cd ravi-filesystem
58-
rmdir build /s
82+
rmdir build /s /q
5983
mkdir build
6084
cd build
6185
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
86+
if %errorlevel% neq 0 exit /b %errorlevel%
6287
cmake --build . --config Release --target INSTALL
88+
if %errorlevel% neq 0 exit /b %errorlevel%
6389
cd ..\..
6490

6591
cd ravi-torch7-nn
66-
rmdir build /s
92+
rmdir build /s /q
6793
mkdir build
6894
cd build
6995
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
96+
if %errorlevel% neq 0 exit /b %errorlevel%
7097
cmake --build . --config Release --target INSTALL
98+
if %errorlevel% neq 0 exit /b %errorlevel%
7199
cd ..\..
72100

73101
cd ravi-torch7-optim
74-
rmdir build /s
102+
rmdir build /s /q
75103
mkdir build
76104
cd build
77105
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
106+
if %errorlevel% neq 0 exit /b %errorlevel%
78107
cmake --build . --config Release --target INSTALL
108+
if %errorlevel% neq 0 exit /b %errorlevel%
79109
cd ..\..
80110

81111
cd ravi-torch7-autograd
82-
rmdir build /s
112+
rmdir build /s /q
83113
mkdir build
84114
cd build
85115
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
116+
if %errorlevel% neq 0 exit /b %errorlevel%
86117
cmake --build . --config Release --target INSTALL
118+
if %errorlevel% neq 0 exit /b %errorlevel%
87119
cd ..\..
88120

89121
cd ravi-torch-cephes
90-
rmdir build /s
122+
rmdir build /s /q
91123
mkdir build
92124
cd build
93125
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
126+
if %errorlevel% neq 0 exit /b %errorlevel%
94127
cmake --build . --config Release --target INSTALL
128+
if %errorlevel% neq 0 exit /b %errorlevel%
95129
cd ..\..
96130

97131
cd ravi-penlight
98-
rmdir build /s
132+
rmdir build /s /q
99133
mkdir build
100134
cd build
101135
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
136+
if %errorlevel% neq 0 exit /b %errorlevel%
102137
cmake --build . --config Release --target INSTALL
138+
if %errorlevel% neq 0 exit /b %errorlevel%
103139
cd ..\..
104140

105141
cd ravi-cjson
106-
rmdir build /s
142+
rmdir build /s /q
107143
mkdir build
108144
cd build
109145
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
146+
if %errorlevel% neq 0 exit /b %errorlevel%
110147
cmake --build . --config Release --target INSTALL
148+
if %errorlevel% neq 0 exit /b %errorlevel%
111149
cd ..\..
112150

113151
cd ravi-lpeglabel
114-
rmdir build /s
152+
rmdir build /s /q
115153
mkdir build
116154
cd build
117155
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
156+
if %errorlevel% neq 0 exit /b %errorlevel%
118157
cmake --build . --config Release --target INSTALL
158+
if %errorlevel% neq 0 exit /b %errorlevel%
119159
cd ..\..
120160

121161
cd ravi-luasocket
122-
rmdir build /s
162+
rmdir build /s /q
163+
mkdir build
164+
cd build
165+
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
166+
if %errorlevel% neq 0 exit /b %errorlevel%
167+
cmake --build . --config Release --target INSTALL
168+
if %errorlevel% neq 0 exit /b %errorlevel%
169+
cd ..\..
170+
171+
cd ravi-libuv-luv
172+
rmdir build /s /q
123173
mkdir build
124174
cd build
125175
cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" ..
176+
if %errorlevel% neq 0 exit /b %errorlevel%
126177
cmake --build . --config Release --target INSTALL
178+
if %errorlevel% neq 0 exit /b %errorlevel%
127179
cd ..\..

0 commit comments

Comments
 (0)