summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-18 15:24:59 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-18 15:24:59 +0300
commitebee2c2cd7741c5174cbea7190bad94556bd7362 (patch)
tree3ca78cdf4e801b36eff7342d6a1af52bdee31185 /README.md
parentee1beb134ab3cbdba955c4f61e60030933fffd23 (diff)
Updated README
The automatically chosen build type is Debug if the repository is cloned.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 21252dc6..11b12077 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ This is how to build Lagrange in a Unix-like environment. The required tools are
271. 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` 271. 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`
282. 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``` 282. 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```
293. Create a build directory. 293. Create a build directory.
304. In your empty build directory, run CMake: ```cmake {path_of_lagrange_sources}``` 304. In your empty build directory, run CMake: ```cmake {path_of_lagrange_sources} -DCMAKE_BUILD_TYPE=Release```
315. Build it: ```cmake --build .``` 315. Build it: ```cmake --build .```
326. Now you can run `lagrange`, `lagrange.exe`, or `Lagrange.app`. 326. Now you can run `lagrange`, `lagrange.exe`, or `Lagrange.app`.
33 33