summaryrefslogtreecommitdiff
path: root/README.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'README.cmake')
-rw-r--r--README.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.cmake b/README.cmake
index 8471473f..c9175fa5 100644
--- a/README.cmake
+++ b/README.cmake
@@ -4,6 +4,7 @@
2. How do I...
3. Crosscompiling using CMake
4. Creating an installer binary for Windows
+ 5. Building on OS X
This readme explains the most common parameters to CMake needed for
building mana, as well as setting up a cross build environement to
@@ -134,3 +135,14 @@ $ makensis -DDLLDIR=/build/mana-libs/lib/ -DPRODUCT_VERSION=0.1.0.0 \
-DUPX=true -DEXESUFFIX=/src setup.nsi
and end up with the installer in mana-0.1.0.0-win32.exe
+
+5. Building on OS X
+-------------------
+
+In your mana directory:
+
+$ export CC=/usr/bin/clang
+$ export CXX=/usr/bin/clang++
+$ cmake -DENABLE_CPP0X=OFF
+$ make
+$ src/mana