2021-06-17 17:32:24 -04:00
|
|
|
# Building
|
|
|
|
|
|
|
|
## Build Dependencies
|
|
|
|
* Common
|
|
|
|
* ARM Compiler
|
2022-06-13 20:49:09 -04:00
|
|
|
* Host Compiler
|
2021-06-17 17:32:24 -04:00
|
|
|
* CMake
|
|
|
|
* Host Architecture Dependencies
|
|
|
|
* Client Mode Only
|
2021-09-11 23:18:12 -04:00
|
|
|
* OpenAL
|
2021-06-17 17:32:24 -04:00
|
|
|
|
|
|
|
## Runtime Dependencies
|
|
|
|
* Non-ARM Host Architectures
|
2021-12-17 21:04:05 -05:00
|
|
|
* QEMU User-Mode
|
2021-06-17 17:32:24 -04:00
|
|
|
* Host Architecture Dependencies
|
2022-04-23 23:01:52 -04:00
|
|
|
* Client Mode Only
|
2022-06-13 20:49:09 -04:00
|
|
|
* OpenGL ES 2.0
|
2021-09-11 23:18:12 -04:00
|
|
|
* OpenAL
|
2021-06-17 17:32:24 -04:00
|
|
|
|
2022-03-06 15:53:27 -05:00
|
|
|
## Instructions
|
2021-06-17 17:32:24 -04:00
|
|
|
```sh
|
2022-03-06 15:53:27 -05:00
|
|
|
./scripts/build.sh <client|server> <armhf|arm64|i686|amd64>
|
2021-06-17 17:32:24 -04:00
|
|
|
```
|
|
|
|
|
2022-03-06 15:53:27 -05:00
|
|
|
### Custom CMake Arguments
|
2021-06-17 17:32:24 -04:00
|
|
|
```sh
|
2022-03-06 15:53:27 -05: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 17:32:24 -04:00
|
|
|
```
|
2022-06-12 16:23:32 -04:00
|
|
|
|
|
|
|
### Environment Variables
|
|
|
|
- ``MCPI_TOOLCHAIN_USE_DEFAULT_SEARCH_PATHS``: Use Default CMake Search Paths Rather Than Guessing
|