diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-14 14:55:33 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-14 14:55:33 +0300 |
commit | 1102f13c4254cd63b83605b2a5789969fed0944e (patch) | |
tree | 2b48d52aacf55ddd807640ff1cf3c1bd3d744f17 | |
parent | 336fd43554cc9877a323175e3ab9d1798df820f1 (diff) |
Updated README
Specified required OpenSSL version and added a note about git submodules.
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,8 +24,8 @@ Prebuilt binaries for Windows and macOS can be found in [Releases][rel]. | |||
24 | 24 | ||
25 | This is how to build Lagrange in a Unix-like environment. The required tools are a C11 compiler (e.g., Clang or GCC), CMake and `pkg-config`. | 25 | This is how to build Lagrange in a Unix-like environment. The required tools are a C11 compiler (e.g., Clang or GCC), CMake and `pkg-config`. |
26 | 26 | ||
27 | 1. Download and extract a source tarball from [Releases][rel]. (If you just clone this Git repository, [the_Foundation][tf] is expected to be already available on the system.) | 27 | 1. Download and extract a source tarball from [Releases][rel]. Alternatively, you may also clone the repository and its submodules: `git clone --recursive https://git.skyjake.fi/skyjake/lagrange.git` |
28 | 2. Check that you have the dependencies installed: SDL2, OpenSSL, libpcre, zlib, libunistring. For example, on macOS this would do the trick (using Homebrew): ```brew install sdl2 openssl@1.1 pcre libunistring``` Or on Ubuntu: ```sudo apt install 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}``` |
31 | 5. Built it: ```cmake --build .``` | 31 | 5. Built it: ```cmake --build .``` |