Lua Version Manager for Windows.
- LuaVM is a simple installer contains prebuilt Lua and LuaJIT binaries with LuaRocks.
- LuaVM is a command line tool make it easy switch between Lua versions.
- Download installer from GitHub or Bintray.
- Double click to install or form command line
LuaVM-x.y.z-vs[2015|2013]-x[64|86].exe /verysilent
.
Examples appveyor.yml config:
install:
- appveyor DownloadFile https://dl.bintray.com/xpol/luavm/LuaVM-0.5.0-vs2015-x64.exe -FileName LuaVM-vs2015-x64.exe
- LuaVM-vs2015-x64.exe /verysilent
- set PATH=%LocalAppData%\LuaVM;%PATH%
- luavm use 5.3
List Lua versions:
luavm list
Use specified Lua version:
luavm use
Eg.
luavm use 5.1
Then lua.exe
for Lua 5.1 is in current and future cmd session's PATH.
For LuaJIT versions there is also luajit.exe
in PATH.
- Install Visual Studio, Visual Studio 2017 or Visual Studio 2015 is recommended.
- Install CMake.
- Install InnoSetup and make sure
iscc
is in your PATH.
The follow items are required by building OpenSSL:
- Install NASM and make sure
nasm
is in your PATH. - Install Python 2.7/3.x and make sure
python
is in your PATH. - Install 7zip.
- Install Perl.
To build and create installer in the project root directory:
cmake -H. -Bbuild -G"Visual Studio 14 2015 Win64"
cmake --build build --config Release --target installer
Where cmake generator may be one of:
- Visual Studio 12 2013
- Visual Studio 12 2013 Win64
- Visual Studio 14 2015
- Visual Studio 14 2015 Win64
- Visual Studio 15 2017
- Visual Studio 15 2017 Win64