Code Monkey home page Code Monkey logo

stephen-kun / luaplus51-all Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jjensen/luaplus51-all

0.0 1.0 0.0 34.87 MB

Full LuaPlus distribution

Home Page: http://luaplus.org

License: Other

Shell 1.12% Lua 10.04% C++ 29.73% C 36.82% Objective-C 0.13% Assembly 0.66% TeX 0.67% CSS 0.47% Perl 0.01% C# 0.66% Python 0.01% PHP 0.01% Java 0.01% JavaScript 2.61% R 0.15% Batchfile 0.08% HTML 15.75% Makefile 0.78% CMake 0.26% Inno Setup 0.04%

luaplus51-all's Introduction

Building LuaPlus for Windows

Prerequisites

For 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.

    • 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
  • 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

luaplus51-all's People

Contributors

jjensen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.