/lua-clang

Build dynamic clang library for lua

Primary LanguageC++MIT LicenseMIT

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.