Giter VIP home page Giter VIP 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版本的用build/plugin_lua53下的Plugins覆盖Unity工程Assets下对应的目录,注意是覆盖,别删除后拷贝,如果你要用luajit,用build/plugin_luajit下的
  • 把LibsTestProj/Assets下的BuildInInit.cs和Resources目录放到Unity工程Assets下
  • 库的初始化看实例:LibsTestProj/Assets/Helloworld/Helloworld.cs

注意

build_xlua_with_libs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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