minecraft-pi-reborn/docs/BUILDING.md

38 lines
786 B
Markdown
Raw Normal View History

2021-06-17 21:32:24 +00:00
# Building
## Build Dependencies
* Common
* ARM Compiler
* Host Compiler (Clang)
* CMake
* Host Architecture Dependencies
* Client Mode Only
* GLFW
* FreeImage
2021-09-12 03:18:12 +00:00
* OpenAL
2021-06-17 21:32:24 +00:00
## Runtime Dependencies
* Non-ARM Host Architectures
2021-12-18 02:04:05 +00:00
* QEMU User-Mode
2021-06-17 21:32:24 +00:00
* Host Architecture Dependencies
2022-04-24 03:01:52 +00:00
* Client Mode Only
2021-06-17 21:32:24 +00:00
* OpenGL ES 1.1
* GLFW
* FreeImage
2021-09-12 03:18:12 +00:00
* OpenAL
2021-06-17 21:32:24 +00:00
* Zenity
## Instructions
2021-06-17 21:32:24 +00:00
```sh
./scripts/build.sh <client|server> <armhf|arm64|i686|amd64>
2021-06-17 21:32:24 +00:00
```
### Custom CMake Arguments
2021-06-17 21:32:24 +00:00
```sh
./scripts/setup.sh <client|server> <armhf|arm64|i686|amd64> <Custom CMake Arguments>
./scripts/build.sh <client|server> <armhf|arm64|i686|amd64>
2021-06-17 21:32:24 +00:00
```
2022-06-12 20:23:32 +00:00
### Environment Variables
- ``MCPI_TOOLCHAIN_USE_DEFAULT_SEARCH_PATHS``: Use Default CMake Search Paths Rather Than Guessing