Building Project Ascension on OS X - Proj-Ascension/Client GitHub Wiki
-
XCode
Install this from the app store. XCode itself isn't needed, but the tools it installs are required. Yosemite is required to install the latest version of XCode, previous versions may work but aren't supported.
-
CMake
The easiest way to install CMake on OS X is via homebrew, invoking via
brew install cmake
. -
Qt
Download the installer from the official website and install as normal.
-
Boost
Also available through homebrew,
brew install boost
.
- Clone the directory somewhere on the filesystem
git clone https://www.github.com:/Proj-Ascension/Client -b dev
- Create a directory to keep build files separate from the rest of the source code
mkdir build; cd build
- Either export
CMAKE_PREFIX_PATH=/path/to/qt/lib/cmake
in your$HOME/.xprofile
or build withcmake .. -DCMAKE_PREFIX_PATH=/path/to/qt/lib/cmake
(Default: /Users/<username>/Qt<version>/<minor version>/clang_64/lib/cmake) - Compile with
make