Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.19 KB

File metadata and controls

34 lines (27 loc) · 1.19 KB

lua-clang

Linux Build Status Windows Build Status Macos Build Status

build clang for lua

how to use

  • install cmake and python

  • clone lua-clang

    git clone https://github.com/zhongfq/lua-clang.git
    cd lua-clang
    git submodule init
    git submodule update
  • build on windows cmd, mac or linux terminal:

    mkdir build && cd build
    cmake ../.. -DCMAKE_BUILD_TYPE=Release
    cmake --build . --config Release --target luaclang53
  • you also can build lua:

    cmake --build . --config release --target lua53
    cmake --build . --config release --target luac53
    cmake --build . --config release --target liblua53

how to use clang see cocos-lua bindings geneator.