Add Mac build instructions to README.md

This commit is contained in:
IronicallySerious
2020-12-09 19:09:40 +05:30
parent 12ed472049
commit 33ac9dfbb6

View File

@@ -6,7 +6,7 @@ Git implementation of the Godot Engine VCS interface in Godot. We use [libgit2](
## Installation Instructions
1. Grab the Linux and/or Windows binaries here: <https://github.com/godotengine/godot-git-plugin/releases>
1. Grab the platform binaries here: <https://github.com/godotengine/godot-git-plugin/releases>
2. Then read the installation instructions: https://github.com/godotengine/godot-git-plugin/wiki
## Build Instructions
@@ -34,6 +34,14 @@ Required build tools:
2. Run ```. ./build_libs.sh Release```.
3. Run ```scons platform=x11 target=release```.
### MacOS
> G++ and Clang++ are our recommended compilers for MacOS
1. Prepare script for execution: ```chmod 755 build_libs_mac.sh```
2. Run ```. ./build_libs_mac.sh Release```.
3. Run ```scons platform=osx target=release```.
#### Debug build
Replace `Release` with `Debug` and `release` with `debug` in the above instructions for a debug build. You will also have to do the same in the paths mentioned in `demo/git_api.gdnlib` before opening the demo project in Godot.