diff options
author | Socapex <philippe_groarke@yahoo.ca> | 2012-08-13 17:53:52 -0400 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-08-14 17:48:24 +0200 |
commit | d18445a37c9f01c37238858dbceed7533f636aed (patch) | |
tree | 0f4ad7369a16d119937be180f38af493396e2512 /README.cmake | |
parent | 067ad70e9978fd678bb784783b2b5c3dc32746d1 (diff) | |
download | mana-d18445a37c9f01c37238858dbceed7533f636aed.tar.gz mana-d18445a37c9f01c37238858dbceed7533f636aed.tar.bz2 mana-d18445a37c9f01c37238858dbceed7533f636aed.tar.xz mana-d18445a37c9f01c37238858dbceed7533f636aed.zip |
Can now build using cmake on OSX
Tested-by: Frost.
Diffstat (limited to 'README.cmake')
-rw-r--r-- | README.cmake | 12 |
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 |