Full LuaPlus distribution
C C++ HTML Lua JavaScript Shell Other
Clone or download
Permalink
Failed to load latest commit information.
Docs Initial import of the entire LuaPlus 5.1 tree Apr 3, 2010
Samples Samples: Add CreateVS2017Workspace.bat to TestScript Apr 3, 2018
Src sqlite: Update to SQLite 3.23.1 Jun 2, 2018
Test Fix testform.lua Jun 21, 2014
Tools Bootstrapping: Update to the latest JamPlus Jun 2, 2018
.gitignore Update .gitignore Aug 31, 2016
.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-linux64 Bootstrapping: Add CreateJamLinuxWorkspace.sh Aug 31, 2016
BootstrapJamPlus-macosx64 Bootstrapping: Bootstrap the Mac OS X JamPlus automatically Aug 31, 2016
BootstrapJamPlus.bat Bootstrapping: Add BootstrapJamPlus.bat Apr 30, 2015
CreateJamLinuxWorkspace.config Bootstrapping: Add CreateJamLinuxWorkspace.sh Aug 31, 2016
CreateJamLinuxWorkspace.sh Bootstrapping: Add CreateJamLinuxWorkspace.sh Aug 31, 2016
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 Bootstrapping: Bootstrap the Mac OS X JamPlus automatically Aug 31, 2016
CreateVS2010Workspace.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
CreateVS2017Workspace.bat Bootstrapping: Add CreateVS2017Workspace.bat Mar 8, 2017
Jamfile.jam Rename LuaPlus/src to LuaPlus/lua51-luaplus in preparation for additi… Sep 5, 2013
LUAPLUS.jamrules Build: Fix various modules and Jamfiles for a FreeBSD build Jun 2, 2018
License.txt Initial import of the entire LuaPlus 5.1 tree Apr 3, 2010
README.md Update README.md Mar 12, 2018
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.
    • 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
  • 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

Building LuaPlus for Mac

Prerequisites

  • FILL ME IN.

Build LuaPlus

  • If you haven't already, clone LuaPlus from GitHub with:
[~]git clone https://github.com/jjensen/luaplus51-all.git luaplus
  • To create a workspace and bootstrap the build environment, 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
  • If you want the PCRE module to build, run the following:
FILL ME IN

If you want to build from an IDE:

  • Open ~/luaplus/.build/_workspace_/xcode/LuaPlus.xcworkspace.
  • Change the active scheme to !BuildWorkspace-macosx64-release.
  • Build.

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

# Builds to ~/luaplus/.build/bin.lua5x-luaplus.clang.macosx64
[~/luaplus/.build]./jam c.toolchain=macosx64/release

Building LuaPlus for Linux

Prerequisites

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

Build LuaPlus

  • If you haven't already, clone LuaPlus from GitHub with:
[~]git clone https://github.com/jjensen/luaplus51-all.git luaplus
  • To create a workspace and bootstrap the 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
  • If you want the PCRE module to build, run the following:
FILL ME IN

To build from the command-line, use:

# Builds to ~/luaplus/.build/bin.lua5x-luaplus.gcc.linux64
[~/luaplus/.build]./jam

# or this:

[~/luaplus/.build]./jam c.toolchain=linux64/release