Skip to content

Commit

Permalink
添加make_osx_silicon_luajit.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Sep 9, 2024
1 parent 54094ff commit 8723158
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/make_osx_silicon_luajit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mkdir -p build_lj_osx && cd build_lj_osx
cmake -DBUILD_SILICON=ON -DUSING_LUAJIT=ON -GXcode ../
cd ..
cmake --build build_lj_osx --config Release
mkdir -p plugin_luajit/Plugins/xlua.bundle/Contents/MacOS/
cp build_lj_osx/Release/xlua.bundle/Contents/MacOS/xlua plugin_luajit/Plugins/xlua.bundle/Contents/MacOS/xlua

0 comments on commit 8723158

Please sign in to comment.