mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-25 13:21:05 +00:00
d90514e534
[skip ci]
1.6 KiB
1.6 KiB
*ZDoom binary dependencies for macOS
This repository contains all binary dependencies required to build macOS application bundles of ZDoom-derived source ports. A few other projects are supported as well, with lesser priority though.
Usage
Download source code, and build a target
build.py --target=<target-name>
Build target from existing source code
build.py --source=<path-to-source-code>
Generate Xcode project instead of building target, and open it
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-widecmake
console executable
Directories
build
directory stores all intermediary files created during targets compilation, customizable with--build-path
command line optiondeps
directory stores all dependencies (headers, libraries, executable and additional files) in the corresponding subdirectoriesoutput
directory stores built main targets, customizable with--output-path
command line optionprefix
directory stores symbolic links to all dependencies combined as one build rootsdk
directory can contain macOS SDKs that will be picked if match with macOS deployment versionssource
directory stores targets source code, customizable with--source-path
command line option
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.