summaryrefslogtreecommitdiff
path: root/README.cmake
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-19 08:14:16 +0000
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-02-19 08:14:16 +0000
commiteab47c4f2674516d9499e837eff5b6b40f48213d (patch)
tree5d0e59267ca89acef8a491917a3af5ac5afad08f /README.cmake
parent278d9aa7eb084bd6f93e6ac1fd84033dc316ab5e (diff)
downloadmana-eab47c4f2674516d9499e837eff5b6b40f48213d.tar.gz
mana-eab47c4f2674516d9499e837eff5b6b40f48213d.tar.bz2
mana-eab47c4f2674516d9499e837eff5b6b40f48213d.tar.xz
mana-eab47c4f2674516d9499e837eff5b6b40f48213d.zip
Fixed compile on macOS
Since Guichan is currently disabled on Homebrew, I've opted for adding it as a submodule instead. It currently references the 0.8 branch of Guichan, after I cherry-picked the CMake support from the master branch. When using SDL2 installed through Homebrew, it was necessary to use SDL2_LINK_LIBRARIES, since the libraries occupy various different directories. It no longer seems necessary to include an SDLMain.m, so I deleted it. Removed obsolete OS X instructions. Also added instructions for installing dependencies on Fedora. Removed mentioning of /announce and /who in the README, since they were removed for tmwAthena.
Diffstat (limited to 'README.cmake')
-rw-r--r--README.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/README.cmake b/README.cmake
index b5691ff1..8471473f 100644
--- a/README.cmake
+++ b/README.cmake
@@ -4,7 +4,6 @@
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
@@ -135,14 +134,3 @@ $ 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 .
-$ make
-$ src/mana