2020-06-21 07:21:12 +00:00
# *ZDoom binary dependencies for macOS
2016-10-23 07:45:46 +00:00
2021-01-20 14:28:31 +00:00
This repository contains all binary dependencies required to build macOS application bundles of [ZDoom-derived ](https://zdoom.org ) source ports. A few other projects are supported as well, with lesser priority though.
## Usage
Download source code, and build a target
2021-01-23 13:58:01 +00:00
```sh
2021-01-20 14:28:31 +00:00
build.py --target=< target-name >
2016-10-29 09:38:49 +00:00
```
2019-11-05 10:17:49 +00:00
2021-01-20 14:28:31 +00:00
Build target from existing source code
2019-11-05 10:17:49 +00:00
2021-01-23 13:58:01 +00:00
```sh
2021-01-20 14:28:31 +00:00
build.py --source=< path-to-source-code >
```
2019-11-05 10:17:49 +00:00
2021-01-20 14:28:31 +00:00
Generate Xcode project instead of building target, and open it
2019-11-05 10:17:49 +00:00
2021-01-23 13:58:01 +00:00
```sh
2021-01-20 14:28:31 +00:00
build.py --source=...|--target=... --xcode
```
Run `build.py` without arguments for complete list of options.
## Prerequisites
* Xcode 12.2 or newer, launch it once to finish installation
* CMake 3.18 or newer, `CMake.app` in `/Applications` or system-wide `cmake` console executable
## Common information
Libraries were built using 10.9 SDK (Intel x64_64) and 11.0 SDK (ARM64).
macOS 10.9 SDK was obtained from Xcode 6.4. macOS 11.0 SDK was obtained from Xcode 12.2.