minecraft-pi-reborn/docs/BUILDING.md
2022-06-13 20:49:09 -04:00

33 lines
711 B
Markdown

# Building
## Build Dependencies
* Common
* ARM Compiler
* Host Compiler
* CMake
* Host Architecture Dependencies
* Client Mode Only
* OpenAL
## Runtime Dependencies
* Non-ARM Host Architectures
* QEMU User-Mode
* Host Architecture Dependencies
* Client Mode Only
* OpenGL ES 2.0
* OpenAL
## Instructions
```sh
./scripts/build.sh <client|server> <armhf|arm64|i686|amd64>
```
### Custom CMake Arguments
```sh
./scripts/setup.sh <client|server> <armhf|arm64|i686|amd64> <Custom CMake Arguments>
./scripts/build.sh <client|server> <armhf|arm64|i686|amd64>
```
### Environment Variables
- ``MCPI_TOOLCHAIN_USE_DEFAULT_SEARCH_PATHS``: Use Default CMake Search Paths Rather Than Guessing