From 78e0affc40e8aba63b485af66e760fc23b6ae392 Mon Sep 17 00:00:00 2001 From: DE-YU-Mac Date: Sun, 24 Nov 2024 06:15:22 +0800 Subject: [PATCH] Add macOS editor build script --- Build Mono Editor macOS.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 Build Mono Editor macOS.sh diff --git a/Build Mono Editor macOS.sh b/Build Mono Editor macOS.sh new file mode 100755 index 000000000000..5e6fc1f9783a --- /dev/null +++ b/Build Mono Editor macOS.sh @@ -0,0 +1,9 @@ +cd "$(dirname "$0")" +export BUILD_NAME=uz +scons p=macos arch=x86_64 module_mono_enabled=yes compiledb=yes debug_symbols=yes +scons p=macos arch=arm64 module_mono_enabled=yes compiledb=yes debug_symbols=yes +lipo -create bin/godot.macos.editor.x86_64.mono bin/godot.macos.editor.arm64.mono -output bin/godot.macos.editor.universal.mono +rm bin/godot.macos.editor.x86_64.mono +rm bin/godot.macos.editor.arm64.mono +bin/godot.macos.editor.universal.mono --headless --generate-mono-glue modules/mono/glue +python3 ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=bin \ No newline at end of file