完整的 LuaPlus 分发版
wget.exe in your PATH.unzip.exe in your PATH.For Visual Studio:
c:\openssl-1.1 so that c:\openssl-1.1\x64\include exists.d:>git clone https://github.com/jjensen/luaplus51-all.git luaplus
Bootstrap the JamPlus build tool by launching x64 Native Tools Command Prompt for whichever version of Visual Studio you are using and running:
BootstrapJamPlus-win64.batClose the x64 Native Tools Command Prompt.
To create a workspace, run one of the following batch files.
CreateVS2019Workspace.bat - Create a Visual Studio 2019-capable workspace.CreateVS2017Workspace.bat - Create a Visual Studio 2017-capable workspace.Choose the version of Lua to build within the workspace. Note that the -luaplus versions build additional LuaPlus-specific features into the Lua environment; these are the preferred environments for LuaPlus.
If you want lua-curl support, run the following (where build201x is your own build directory):
d:\luaplus\build201x>jam download:curl
d:\luaplus\Src\modules.jambuild>getpcre.bat
If you want to build from an IDE:
build201x\_workspace_\vs201x\ (replace the vs201x with the IDE version your are building for) and open LuaPlus.sln.If you want to build from the command-line, use:
rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win64 d:\luaplus\build201x>jam c.toolchain=win64/release
rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win64 d:\luaplus\build201x>jam c.toolchain=win64/debug
rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win32 d:\luaplus\build201x>jam c.toolchain=win32/release
rem Builds to d:\luaplus\build201x\bin.lua5x-luaplus.vs20xx.win32 d:\luaplus\build201x>jam c.toolchain=win32/debug
[~]git clone https://github.com/jjensen/luaplus51-all.git luaplus
Bootstrap the JamPlus build tool by running:
BootstrapJamPlus-macosx64To create an Xcode workspace, run ~/luaplus/CreateJamXcodeWorkspace.sh.
Choose the version of Lua to build within the workspace. Note that the -luaplus versions build additional LuaPlus-specific features into the Lua environment; these are the preferred environments for LuaPlus.
If you want lua-curl support, run the following:
FILL ME IN
FILL ME IN
If you want to build from an IDE:
~/luaplus/.build/_workspace_/xcode/LuaPlus.xcworkspace.!BuildWorkspace-macosx64-release.If you want to build from the command-line, use:
[~/luaplus/.build]./jam c.toolchain=macosx64/release
As an example, a fresh install of Ubuntu 17.10 will require the following packages.
sudo apt install git build-essential libreadline-dev uuid-dev libssl-dev libcurl4-openssl-dev
[~]git clone https://github.com/jjensen/luaplus51-all.git luaplus
Bootstrap the JamPlus build tool by running:
BootstrapJamPlus-linux64To create a build environment, run ~/luaplus/CreateJamLinuxWorkspace.sh.
Choose the version of Lua to build within the workspace. Note that the -luaplus versions build additional LuaPlus-specific features into the Lua environment; these are the preferred environments for LuaPlus.
If you want lua-curl support, run the following for Ubuntu (or the equivalent for your Linux):
sudo apt install libcurl4-openssl-dev
FILL ME IN
To build from the command-line, use:
[~/luaplus/.build]./jam
[~/luaplus/.build]./jam c.toolchain=linux64/release
暂无开放 Issues,或尚未同步最近议题。