Skip to content

Commit

Permalink
Add macOS editor build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Delsin-Yu committed Nov 23, 2024
1 parent 7eab230 commit 78e0aff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Build Mono Editor macOS.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 78e0aff

Please sign in to comment.