BuildGuideMacOSX.md edited online with Bitbucket

This commit is contained in:
Matt Feemster 2017-03-16 00:39:22 +00:00
parent e7c6c589fd
commit 5cc8579905

View File

@ -1,6 +1,8 @@
# Build Guide for Mac OS/X # Build Guide for Mac OS/X
Install Xcode from the App Store. Install [homebrew](http://brew.sh/). Install Xcode from the App Store
Install Qt 5.4.2 (Note, newer versions of Qt up to and including 5.8 have a bug with drawing OpenGL lines)
Install [homebrew](http://brew.sh/).
Install `git` and clone the repository: Install `git` and clone the repository:
@ -12,7 +14,7 @@ git clone https://mfeemster@bitbucket.org/mfeemster/fractorium.git
Install the dependencies: Install the dependencies:
``` ```
brew install qt5 tbb glm dbus jpeg libpng glib libxml2 brew install qt5 tbb glm jpeg libpng glib libxml2
``` ```
TODO: Confirm if `glib` and `libxml2` are actually needed. TODO: Confirm if `glib` and `libxml2` are actually needed.
@ -24,15 +26,28 @@ Add the Qt `bin` folder to `PATH` to make `qmake` available. In
PATH=/usr/local/opt/qt5/bin:$PATH PATH=/usr/local/opt/qt5/bin:$PATH
export PATH export PATH
``` ```
Obtain the source:
```
git clone https://mfeemster@bitbucket.org/mfeemster/fractorium.git
```
Compile the binary: Compile the binary:
``` ```
cd fractorium cd fractorium
qmake CONFIG-=app_bundle qmake CONFIG+=release
make make
``` ```
Creating the app bundle:
```
cd fractorium
cd archive
./build.sh
```
Run the binary from the release folder: Run the binary from the release folder:
``` ```
@ -40,3 +55,8 @@ cd Bin/release
./fractorium ./fractorium
``` ```
Installing:
```
Open Fractorium.dmg and copy Fractorium.app to /Applications.
```