*ZDoom binary dependencies for macOS
Go to file
alexey.lysiuk f83beec622
add glib and its dependencies to the list
2019-11-06 18:01:56 +02:00
flac update flac to 1.3.3 2019-09-15 11:27:53 +03:00
fluidsynth update fluidsynth to 2.0.8 2019-11-03 10:37:16 +02:00
jpeg update jpeg-turbo to 2.0.3 2019-09-07 14:44:14 +03:00
moltenvk update MoltenVK to 1.0.38 2019-11-02 17:11:22 +02:00
mpg123 update mpg123 to 1.25.13 2019-10-27 10:33:46 +02:00
ogg update ogg to 1.3.4 2019-09-08 16:16:23 +03:00
openal * update openal-soft to 1.19.1+ 2019-02-09 15:46:30 +02:00
sdl * rebuild sdl 2.0.8 with xcode 9.4 and sdk 10.9 2018-07-15 16:39:24 +03:00
sndfile * build libsndfile with security patches, closes #4 2018-08-19 12:31:01 +03:00
vorbis * rebuild vorbis 1.3.6 with xcode 9.4 and sdk 10.9 2018-07-15 16:39:25 +03:00
.gitignore add basic build script 2019-08-11 15:52:53 +03:00
.travis.yml add travis configuration 2019-08-11 15:52:53 +03:00
build.sh add basic build script 2019-08-11 15:52:53 +03:00
dependencies.md add glib and its dependencies to the list 2019-11-06 18:01:56 +02:00
readme.md a few clarifications in readme 2019-11-05 12:24:48 +02:00

readme.md

ZDoom / GZDoom / QZDoom dependencies for macOS

Dependencies to build ZDoom / GZDoom / QZDoom binaries for macOS

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.