*ZDoom binary dependencies for macOS
Find a file
alexey.lysiuk 860514d9f4 refactor build script
make target registration more explicit
get rid of setup() method: all target options independent from builder are set in __init__() while dependent members are assigned in configure()
target with non-empty source root is now detectable, i.e. prboom-plus
2020-06-13 12:27:17 +03:00
.github/workflows fix continuous integration build runner name 2020-06-01 10:03:31 +03:00
deps update MoltenVK to 1.0.43 2020-06-10 21:56:56 +03:00
source fetch target source code to designated directory 2020-05-03 15:59:56 +03:00
.gitignore fetch target source code to designated directory 2020-05-03 15:59:56 +03:00
build.py refactor build script 2020-06-13 12:27:17 +03:00
dependencies.md add instpatch and opus to list of dependencies 2020-04-28 18:11:22 +03:00
readme.md change title and brief description in readme 2019-11-18 22:25:52 +02: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.