Giter Club home page Giter Club logo

build_xlua_with_libs's Introduction

xLua常用库集成

lua-protobuf

https://github.com/starwing/lua-protobuf

ps:如果需要用pbc的,可以修改编译参数指定改为用pbc,以window 64位为例,打开make_win64_lua53.bat,找到这行:

cmake -G "Visual Studio 14 2015 Win64" ..

修改为

cmake -DPBC=ON -G "Visual Studio 14 2015 Win64" ..

LuaSocket

xLua默认集成库。

RapidJson

json处理,特点是Rapid。

LPeg

模式匹配库。

FFI for lua53

基于这个项目的裁剪:https://github.com/facebookarchive/luaffifb

裁剪掉函数调用部分,这部分需要用到jit,有些系统行不同(比如ios),故裁剪掉。

如何使用

  • 自动编译下载你希望使用的版本(lua53,lua54, luajit),解压覆盖Unity工程Assets下Plugins目录,注意是覆盖,别删除后拷
  • 把LibsTestProj/Assets下的BuildInInit.cs和Resources目录放到Unity工程Assets下
  • 库的初始化看实例:LibsTestProj/Assets/Helloworld/Helloworld.cs

注意

build_xlua_with_libs's People

Contributors

chexiongsheng avatar jayatubi avatar drchao avatar fm314opae avatar qwe12369 avatar xtutu 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.