From d18445a37c9f01c37238858dbceed7533f636aed Mon Sep 17 00:00:00 2001 From: Socapex Date: Mon, 13 Aug 2012 17:53:52 -0400 Subject: Can now build using cmake on OSX Tested-by: Frost. --- README.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.cmake') 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 -- cgit v1.2.3-70-g09d2