summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL14
1 files changed, 14 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 9b539bd8f..e7fbfe244 100644
--- a/INSTALL
+++ b/INSTALL
@@ -45,6 +45,8 @@ you to figure this out.
2. Compiling And Installing ManaPlus
====================================
+Building with GNU Autotools
+
1) Go to the directory you have extracted the source to.
2) If you've cloned the Git repository, run "autoreconf -i" to generate
configure and install any missing auxiliary files.
@@ -64,3 +66,15 @@ a different prefix to configure as usual.
Rebuild the executable from scratch using "make clean" and then "make".
+
+Building with CMake
+
+1) Create a directory for building and change to that directory.
+2) Configure the build with: cmake <path_to_source>
+3) Compile with: cmake --build ./
+4) Copy files to install directory with: cmake --install ./
+
+ NOTES:
+ - To set output directory for install add `-DCMAKE_INSTALL_PREFIX=<path>` to configure command.
+ - To build with SDL 2.0 instead of 1.6 add `-DUSE_SDL2=ON` to configure command.
+ - To disalbe OpenGL add `-DUSE_OPENGL=OFF` to configure command.