Skip to content
Full LuaPlus distribution
C C++ HTML Lua Shell JavaScript Other
Failed to load latest commit information.
Docs Initial import of the entire LuaPlus 5.1 tree Apr 3, 2010
Samples Update LuaPlus code and samples against Lua 5.3 RC2 Dec 26, 2014
Src Update Src/LuaPlus/lua53-luaplus to Lua 5.3.2 Mar 23, 2016
Test Fix testform.lua Jun 20, 2014
Tools Bootstrapping: Update JamPlus submodule Mar 23, 2016
.gitignore Update .gitignore for .build*/ directory ignores Dec 26, 2014
.gitmodules Add JamPlus submodule Apr 30, 2015
AddAutoExp.bat Initial import of the entire LuaPlus 5.1 tree Apr 3, 2010
AddAutoExp.lua Add support for VS2013 to AddAutoExp Feb 27, 2014
AutoExpAdditions.txt Fix autoexp.dat to properly display LuaObject Feb 2, 2013
BootstrapJamPlus.bat Bootstrapping: Add BootstrapJamPlus.bat Apr 30, 2015
CreateJamWindowsWorkspace.config Bootstrapping: Use C.COMPILER instead of COMPILER Mar 14, 2016
CreateJamXcodeWorkspace.config Bootstrapping: Use C.COMPILER instead of COMPILER Mar 14, 2016
CreateJamXcodeWorkspace.sh Build: Set CreateJamXcodeWorkspace.sh output to .build Nov 13, 2015
CreateVS2010Workspace.bat Bootstrap automatically via the Create*Workspace.bat files Jun 9, 2015
CreateVS2012Workspace.bat Bootstrap automatically via the Create*Workspace.bat files Jun 9, 2015
CreateVS2013Workspace.bat Bootstrap automatically via the Create*Workspace.bat files Jun 9, 2015
CreateVS2015Workspace.bat Add CreateVS2015Workspace.bat Nov 5, 2015
Jamfile.jam Rename LuaPlus/src to LuaPlus/lua51-luaplus in preparation for additi… Sep 5, 2013
LUAPLUS.jamrules Bootstrapping: Initialize the C module Mar 9, 2016
License.txt Initial import of the entire LuaPlus 5.1 tree Apr 3, 2010
README.md Add README.md Mar 14, 2016
changelog.txt Initial import of the entire LuaPlus 5.1 tree Apr 3, 2010

README.md

Building LuaPlus for Windows

Prerequisites

For Visual Studio:

(deprecated) For earlier versions of Visual Studio:

Build LuaPlus

  • If you haven't already, clone LuaPlus from GitHub with:
d:\>git clone https://github.com/jjensen/luaplus51-all.git luaplus
  • To create a workspace and bootstrap the build environment, run one of the following batch files.

    • CreateVS2010Workspace.bat - Create a Visual Studio 2010-capable workspace.
    • CreateVS2012Workspace.bat - Create a Visual Studio 2012-capable workspace.
    • CreateVS2013Workspace.bat - Create a Visual Studio 2013-capable workspace.
    • CreateVS2015Workspace.bat - Create a Visual Studio 2015-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
  • If you want the PCRE module to build, run the following (where build201x is your own build directory):
d:\luaplus\Src\modules.jambuild>getpcre.bat

If you want to build from an IDE:

  • Within Visual Studio, navigate to build201x\_workspace_\vs201x\ (replace the vs201x with the IDE version your are building for) and open LuaPlus.sln.
  • Build the solution.

If you want to build from the command-line, use:

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

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
Something went wrong with that request. Please try again.