mirror of
https://github.com/Relintai/godot-mono-builds.git
synced 2024-11-12 10:25:10 +01:00
Add Android instructions to the README
This commit is contained in:
parent
1d00c2b489
commit
5ff3e54b84
23
README.md
23
README.md
@ -1,3 +1,26 @@
|
|||||||
# Mono build scripts for Godot
|
# Mono build scripts for Godot
|
||||||
This repository contains scripts for building the Mono runtime to use with Godot Engine
|
This repository contains scripts for building the Mono runtime to use with Godot Engine
|
||||||
|
|
||||||
|
## Android instructions
|
||||||
|
|
||||||
|
Run `python build_mono_android.py --help` for the full list of command line options.
|
||||||
|
You may need to tweak some of those if the default values do not fit your needs.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# These are the default values. You can omit them if they apply to your system
|
||||||
|
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
|
||||||
|
export ANDROID_NDK_ROOT=$ANDROID_SDK_ROOT/ndk-bundle
|
||||||
|
|
||||||
|
# The mono sources may be in a different location on your system
|
||||||
|
export MONO_SOURCE_ROOT=$HOME/git/mono
|
||||||
|
|
||||||
|
./build_mono_android.py configure --target=all
|
||||||
|
./build_mono_android.py make --target=all
|
||||||
|
```
|
||||||
|
|
||||||
|
The option `--target=all` is a shortcut for `--target=armeabi-v7a --target=x86 --target=arm64-v8a --target=x86_64`.
|
||||||
|
|
||||||
|
By default, the script will install the resulting files to `$HOME/mono-installs`.
|
||||||
|
You can specify a custom output directory with the `--install-dir` option.
|
||||||
|
Loading…
Reference in New Issue
Block a user