3 Star 3 Fork 1

Gitee 极速下载/luaplus51-all

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/jjensen/luaplus51-all
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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
  • 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.bat
  • Close 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
  • 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.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

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
  • Bootstrap the JamPlus build tool by running:

    • BootstrapJamPlus-macosx64
  • To 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
  • 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
  • Bootstrap the JamPlus build tool by running:

    • BootstrapJamPlus-linux64
  • To 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
  • 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
LuaPlus License --------------- LuaPlus, like Lua, is licensed under the terms of the MIT license and can be used unrestricted in any place where Lua could be used. LuaPlus is Copyright 2002-2010 Joshua C. Jensen. =============================================================================== Lua License ----------- Lua is licensed under the terms of the MIT license reproduced below. This means that Lua is free software and can be used for both academic and commercial purposes at absolutely no cost. For details and rationale, see http://www.lua.org/license.html . =============================================================================== Copyright (C) 1994-2008 Lua.org, PUC-Rio. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. =============================================================================== (end of COPYRIGHT)

简介

LuaPlus是Lua的C++增强,也就是说,LuaPlus本身就是在Lua的源码上进行增强得来的 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/luaplus51-all.git
git@gitee.com:mirrors/luaplus51-all.git
mirrors
luaplus51-all
luaplus51-all
master

搜索帮助