From e18feee26fbba2a2c961a1a34542c6a04e879bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 28 Nov 2013 13:41:14 +0100 Subject: [PATCH] Update BUILD.md Add OSX build instructions taken from https://gist.github.com/number5/7250865 --- BUILD.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index 6454bfb7..db3a0590 100644 --- a/BUILD.md +++ b/BUILD.md @@ -104,4 +104,22 @@ Getting the project to build and run on Windows is easy if you use Qt's IDE, Qt # OS X -*There are no build instructions for OS X yet. If you can help with this section please contact us on IRC (Esper/#MultiMC)!* +### Install prerequisites: +1. install homebrew +2. brew install qt5 +3. brew tap homebrew/versions +4. brew install gcc48 +5. brew install cmake + +### Build +1. git clone https://github.com/MultiMC/MultiMC5.git +2. cd MultiMC5 +3. mkdir build +4. cd build +5. export CMAKE_PREFIX_PATH=/usr/local/opt/qt5 +6. export CC=/usr/local/bin/gcc-4.8 +7. export CXX=/usr/local/bin/g++-4.8 +8. cmake .. +9. make + +*These build instructions were taken and adapted from https://gist.github.com/number5/7250865 If they don't work for you, let us know on IRC (Esper/#MultiMC)!*