Skip to content

Setup MacOS

Matthew Albrecht edited this page Apr 21, 2020 · 5 revisions

System Setup

xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

After installing XCode it will need to be launched at least one, and may require a system reboot.

Once you have Brew setup these Terminal commands can be run to install CMake, OpenAL, Freetype2, and Vulkan:

brew update
brew install pkg-config
brew install python3
brew install cmake
brew install openal-soft
brew install freetype
brew tap homebrew/cask
brew cask install apenngrace/vulkan/vulkan-sdk

If you have a version of CMake below 3.11.0 you may need to run update instead of install. Building

If you are using a IDE that supports CMake file build like CLion you can skip these next steps under building. Now within your clone of Acid you can begin building, first we create a new Build folder, the XCode files generated by CMake will be placed into this directory along with binaries:

mkdir Build && cd Build
cmake .. -G "Xcode" -DCMAKE_BUILD_TYPE=Release

You can now open the Build/Acid.xcodeproj file with XCode, or build from the command line:

xcodebuild -quiet -target Acid -configuration Release
Clone this wiki locally