build clang for lua
-
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.