diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-18 15:24:59 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-18 15:24:59 +0300 |
commit | ebee2c2cd7741c5174cbea7190bad94556bd7362 (patch) | |
tree | 3ca78cdf4e801b36eff7342d6a1af52bdee31185 /README.md | |
parent | ee1beb134ab3cbdba955c4f61e60030933fffd23 (diff) |
Updated README
The automatically chosen build type is Debug if the repository is
cloned.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ This is how to build Lagrange in a Unix-like environment. The required tools are | |||
27 | 1. Download and extract a source tarball from [Releases][rel]. Alternatively, you may also clone the repository and its submodules: `git clone --recursive --branch release https://git.skyjake.fi/skyjake/lagrange` | 27 | 1. Download and extract a source tarball from [Releases][rel]. Alternatively, you may also clone the repository and its submodules: `git clone --recursive --branch release https://git.skyjake.fi/skyjake/lagrange` |
28 | 2. Check that you have the dependencies installed: CMake, SDL 2, OpenSSL 1.1.1, libpcre, zlib, libunistring. For example, on macOS this would do the trick (using Homebrew): ```brew install cmake sdl2 openssl@1.1 pcre libunistring``` Or on Ubuntu: ```sudo apt install cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev``` | 28 | 2. Check that you have the dependencies installed: CMake, SDL 2, OpenSSL 1.1.1, libpcre, zlib, libunistring. For example, on macOS this would do the trick (using Homebrew): ```brew install cmake sdl2 openssl@1.1 pcre libunistring``` Or on Ubuntu: ```sudo apt install cmake libsdl2-dev libssl-dev libpcre3-dev zlib1g-dev libunistring-dev``` |
29 | 3. Create a build directory. | 29 | 3. Create a build directory. |
30 | 4. In your empty build directory, run CMake: ```cmake {path_of_lagrange_sources}``` | 30 | 4. In your empty build directory, run CMake: ```cmake {path_of_lagrange_sources} -DCMAKE_BUILD_TYPE=Release``` |
31 | 5. Build it: ```cmake --build .``` | 31 | 5. Build it: ```cmake --build .``` |
32 | 6. Now you can run `lagrange`, `lagrange.exe`, or `Lagrange.app`. | 32 | 6. Now you can run `lagrange`, `lagrange.exe`, or `Lagrange.app`. |
33 | 33 | ||