2021-06-17 21:32:24 +00:00
|
|
|
# Building
|
|
|
|
|
|
|
|
## Build Dependencies
|
|
|
|
* Common
|
|
|
|
* ARM Compiler
|
2022-06-14 00:49:09 +00:00
|
|
|
* Host Compiler
|
2021-06-17 21:32:24 +00:00
|
|
|
* CMake
|
|
|
|
* Host Architecture Dependencies
|
|
|
|
* Client Mode Only
|
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
|
2022-06-14 00:49:09 +00:00
|
|
|
* OpenGL ES 2.0
|
2021-09-12 03:18:12 +00:00
|
|
|
* OpenAL
|
2021-06-17 21:32:24 +00:00
|
|
|
|
2022-03-06 20:53:27 +00:00
|
|
|
## Instructions
|
2021-06-17 21:32:24 +00:00
|
|
|
```sh
|
2022-03-06 20:53:27 +00:00
|
|
|
./scripts/build.sh <client|server> <armhf|arm64|i686|amd64>
|
2021-06-17 21:32:24 +00:00
|
|
|
```
|
|
|
|
|
2022-03-06 20:53:27 +00:00
|
|
|
### Custom CMake Arguments
|
2021-06-17 21:32:24 +00:00
|
|
|
```sh
|
2022-03-06 20:53:27 +00:00
|
|
|
./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
|