mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 19:41:15 +00:00
*ZDoom binary dependencies for macOS
6074f37048
fix warning Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. |
||
---|---|---|
.github | ||
.idea | ||
aedi | ||
deps | ||
patch | ||
test | ||
.gitignore | ||
build.py | ||
dependencies.md | ||
readme.md |
*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 is required in order to build universal binaries. Launch Xcode once to finish its installation. In theory, it is possible to use older versions of Xcode to build Intel target only by adding --disable-arm
command line option.
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 optiontemp
directory stores temporary files, customizable with--temp-path
command line option