diff --git a/build/buildmsvc_lua53.bat b/build/buildmsvc_lua53.bat index 138a575..5a02214 100644 --- a/build/buildmsvc_lua53.bat +++ b/build/buildmsvc_lua53.bat @@ -1,127 +1,179 @@ +cd ravi-external-libs +rmdir build /s /q +mkdir build +cd build +cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% +cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% +cd ..\.. + cd lua -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-ffi -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch-paths -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch7-sys -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch7 -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch7-xlua -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-moses -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-filesystem -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch7-nn -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch7-optim -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch7-autograd -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-torch-cephes -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-penlight -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-cjson -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-lpeglabel -rmdir build /s +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. cd ravi-luasocket -rmdir build /s +rmdir build /s /q +mkdir build +cd build +cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% +cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% +cd ..\.. + +cd ravi-libuv-luv +rmdir build /s /q mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=c:/Software/lua53 -DUSE_LUA53=ON -G "Visual Studio 15 2017 Win64" .. +if %errorlevel% neq 0 exit /b %errorlevel% cmake --build . --config Release --target INSTALL +if %errorlevel% neq 0 exit /b %errorlevel% cd ..\.. diff --git a/lua b/lua index db50625..26d9fe8 160000 --- a/lua +++ b/lua @@ -1 +1 @@ -Subproject commit db50625f5a477064f22a39f11276ce763c00c301 +Subproject commit 26d9fe86009d7d89b2decb3d669459ad4ec1747e