*ZDoom binary dependencies for macOS
Find a file
2020-12-29 12:19:01 +02:00
.github/workflows skip all workflows with [skip ci] in commit message 2020-12-28 10:50:28 +02:00
.idea add output path for main targets 2020-12-28 11:10:21 +02:00
deps build ffi for x86_64 and arm64 2020-12-29 12:19:01 +02:00
patch update vpx patch with arm64 support 2020-12-29 11:34:24 +02:00
source build script: use automated patching for ogg target 2020-12-05 15:42:09 +02:00
test make test script executable 2020-12-26 12:04:55 +02:00
.gitignore add output path for main targets 2020-12-28 11:10:21 +02:00
build.py build script: remove no longer needed jpeg-turbo option 2020-12-29 11:56:21 +02:00
dependencies.md make markdown linter happy 2020-06-21 10:36:48 +03:00
readme.md make markdown linter happy 2020-06-21 10:36:48 +03:00

*ZDoom binary dependencies for macOS

This repository contains all binary dependencies required to build macOS application bundles of ZDoom-derived source ports.

Libraries were built with the following environment variables set:

export   CFLAGS="-I/usr/local/include -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"
export CXXFLAGS="-I/usr/local/include -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"
export CPPFLAGS="-I/usr/local/include -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"
export  LDFLAGS="-L/usr/local/lib     -mmacosx-version-min=10.9 -isysroot MacOSX10.9.sdk"

macOS 10.9 SDK was obtained from Xcode 6.4 which is the last version shipped with Mavericks SDK.

The exception is MoltenVK as it must be build as a dynamic library and requires 10.11 or newer.
In addition to CMake, it needs Python 3.x to build its dependencies.

export   CFLAGS="-I/usr/local/include -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"
export CXXFLAGS="-I/usr/local/include -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"
export CPPFLAGS="-I/usr/local/include -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"
export  LDFLAGS="-L/usr/local/lib     -mmacosx-version-min=10.11 -isysroot MacOSX10.11.sdk"

git clone https://github.com/KhronosGroup/MoltenVK.git

cd MoltenVK
git checkout v1.0.38  # See https://github.com/KhronosGroup/MoltenVK/tags

./fetchDependencies -v  # Assumes CMake and Python 3 are accessible
xcodebuild -project MoltenVK/MoltenVK.xcodeproj -scheme MoltenVK-macOS

macOS 10.11 SDK was obtained from Xcode 7.3.1 which is the last version shipped with El Capitan SDK.