• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jjensen/luaplus51-all: Full LuaPlus distribution

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

jjensen/luaplus51-all

开源软件地址(OpenSource Url):

https://github.com/jjensen/luaplus51-all

开源编程语言(OpenSource Language):

C 36.6%

开源软件介绍(OpenSource 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
  • 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



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap