diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-24 18:41:41 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-24 18:41:41 +0300 |
commit | 6ec80b3548bd73da51338240b004ac42309bc2b4 (patch) | |
tree | 1209f2a533d02db93687112f285d57459f83c1f8 | |
parent | 91856033741455505e5b0a3785e4bdd5f3539d11 (diff) |
Updated README
Clarifications to build instructions.
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,7 +37,7 @@ This is how to build Lagrange in a Unix-like environment. The required tools are | |||
37 | 37 | ||
38 | To install to "/dest/path": | 38 | To install to "/dest/path": |
39 | 39 | ||
40 | 1. `cmake {path_of_lagrange_sources} -DCMAKE_INSTALL_PREFIX=/dest/path` | 40 | 1. `cmake {path_of_lagrange_sources} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/dest/path` |
41 | 2. `cmake --build . --target install` | 41 | 2. `cmake --build . --target install` |
42 | 42 | ||
43 | This will also install an XDG .desktop file for launching the app. | 43 | This will also install an XDG .desktop file for launching the app. |
@@ -52,9 +52,9 @@ Also, SDL's trackpad scrolling behavior on macOS is not optimal for regular GUI | |||
52 | 52 | ||
53 | ### Compiling on Windows | 53 | ### Compiling on Windows |
54 | 54 | ||
55 | Windows builds require [MSYS2](https://www.msys2.org). In theory, [Clang](https://clang.llvm.org/docs/MSVCCompatibility.html) or GCC (on [MinGW](http://mingw.org)) could be set up natively on Windows for compiling everything, but the_Foundation still lacks native Win32 implementations for the Socket and Process classes and these are required by Lagrange. | 55 | Windows builds require [MSYS2](https://www.msys2.org). In theory, [Clang](https://clang.llvm.org/docs/MSVCCompatibility.html) or GCC (on [MinGW](http://mingw.org)) could be set up natively on Windows for compiling everything, but the_Foundation still lacks Win32 implementations for the Socket and Process classes and these are required by Lagrange. [Cygwin](http://cygwin.org) is a possible alternative to MSYS2, although Cygwin builds have not been tested. |
56 | 56 | ||
57 | You should use the SDL 2 library precompiled for native Windows (the MSVC variant) instead of the version from MSYS2 or MinGW. You can download a copy of the SDL binaries from https://libsdl.org/. To make configuration easier in your MSYS2 environment, consider writing a custom sdl2.pc file so `pkg-config` can automatically find the correct version of SDL. Below is an example of what your sdl2.pc might look like: | 57 | You should use a version of the SDL 2 library that is compiled for native Windows (i.e., the MSVC variant) instead of the version from MSYS2 or MinGW. You can download a copy of the SDL binaries from [libsdl.org](https://libsdl.org/). To make configuration easier in your MSYS2 environment, consider writing a custom sdl2.pc file so `pkg-config` can automatically find the correct version of SDL. Below is an example of what your sdl2.pc might look like: |
58 | 58 | ||
59 | ``` | 59 | ``` |
60 | prefix=/c/SDK/SDL2-2.0.12/ | 60 | prefix=/c/SDK/SDL2-2.0.12/ |