diff options
author | Jordan Irwin <antumdeluge@gmail.com> | 2022-07-18 09:09:30 -0700 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2022-12-18 17:24:32 +0000 |
commit | 3ad822e4d2b4232c72d7b39185bbe660d40c0b45 (patch) | |
tree | 2627dcc6ad4f8f11cb4f9f8a42290ce99cb02baf /INSTALL | |
parent | 0400eac96a69a322fd6d77868eb7edad81cc860f (diff) | |
download | plus-3ad822e4d2b4232c72d7b39185bbe660d40c0b45.tar.gz plus-3ad822e4d2b4232c72d7b39185bbe660d40c0b45.tar.bz2 plus-3ad822e4d2b4232c72d7b39185bbe660d40c0b45.tar.xz plus-3ad822e4d2b4232c72d7b39185bbe660d40c0b45.zip |
Add CMake build instructions
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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. |