From 8723158b9e31d9bc315aebb47e050d96e5658111 Mon Sep 17 00:00:00 2001 From: johnche Date: Mon, 9 Sep 2024 16:07:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0make=5Fosx=5Fsilicon=5Fluajit?= =?UTF-8?q?.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/make_osx_silicon_luajit.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 build/make_osx_silicon_luajit.sh diff --git a/build/make_osx_silicon_luajit.sh b/build/make_osx_silicon_luajit.sh new file mode 100644 index 000000000..2dfdde8a7 --- /dev/null +++ b/build/make_osx_silicon_luajit.sh @@ -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 +