summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-24 18:41:41 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-24 18:41:41 +0300
commit6ec80b3548bd73da51338240b004ac42309bc2b4 (patch)
tree1209f2a533d02db93687112f285d57459f83c1f8
parent91856033741455505e5b0a3785e4bdd5f3539d11 (diff)
Updated README
Clarifications to build instructions.
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 54d84930..e474c4b1 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ This is how to build Lagrange in a Unix-like environment. The required tools are
37 37
38To install to "/dest/path": 38To install to "/dest/path":
39 39
401. `cmake {path_of_lagrange_sources} -DCMAKE_INSTALL_PREFIX=/dest/path` 401. `cmake {path_of_lagrange_sources} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/dest/path`
412. `cmake --build . --target install` 412. `cmake --build . --target install`
42 42
43This will also install an XDG .desktop file for launching the app. 43This 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
55Windows 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. 55Windows 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
57You 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: 57You 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```
60prefix=/c/SDK/SDL2-2.0.12/ 60prefix=/c/SDK/SDL2-2.0.12/