Update readme

This commit is contained in:
Alex Szpakowski
2020-01-04 19:01:23 -04:00
parent 63ff1503c3
commit 7af77ce90d
+8 -8
View File
@@ -1,12 +1,13 @@
Megasource is a CMake-buildable collection of all [LÖVE][love2d] dependencies.
It currently only works on Windows, but will also work on OSX. It could certainly also work on Linux, but good package managers makes megasource less relevant there.
It is currently only officially supported on Windows, but may also work on macOS. It could certainly also work on Linux, but good package managers makes megasource less relevant there.
Prerequisites
-------------
- Windows.
- [Visual Studio 2013 (Express)][vs2013] preferably for desktop. VS 2015 and 2017 also work, but they have 40 more runtime DLLs distributed with love compared to VS 2013.
- LOVE 12+: [Visual Studio 2019][vs2019].
- LOVE 11 and older: [Visual Studio 2013, 2015, or 2017][oldvs]. Official builds of LOVE 11 and older use Visual Studio 2013.
- [CMake 3.1][cmake] or greater.
- [NSIS][nsis] if you want to build the LÖVE installer.
@@ -17,17 +18,17 @@ To build just the dependencies:
$ hg clone https://bitbucket.org/rude/megasource megasource
$ cd megasource
$ cmake -G "Visual Studio 12" -H. -Bbuild
$ cmake -G "Visual Studio 16 2019" -A Win32 -H. -Bbuild
$ cmake --build build --target megatest --config Release
... or you can of course open the solution file in Visual Studio and build from there instead of invoking cmake --build.
... or you can open the solution file in Visual Studio and build from there instead of invoking cmake --build.
If you want to build [LÖVE][love2d], clone LÖVE into the *libs* folder. Megasource will automatically look for it there. E.g.:
$ hg clone https://bitbucket.org/rude/megasource megasource
$ cd megasource
$ hg clone https://bitbucket.org/rude/love libs/love
$ cmake -G "Visual Studio 12" -H. -Bbuild
$ cmake -G "Visual Studio 16 2019" -A Win32 -H. -Bbuild
$ cmake --build build --target love/love --config Release
The binaries can be found in *build/love/Release*.
@@ -39,8 +40,7 @@ If you want to build the installer, replace the previous build command with:
A zip with the binaries and the installer will appear in *build*.
[love2d]: http://love2d.org
[dxsdk]: http://www.microsoft.com/en-us/download/details.aspx?id=6812
[cmake]: http://www.cmake.org/
[nsis]: http://nsis.sourceforge.net
[vs2013]: https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx
[s1023]: http://stackoverflow.com/questions/4102259/directx-sdk-june-2010-installation-problems-error-code-s1023
[vs2019]: https://visualstudio.microsoft.com/downloads/
[oldvs]: https://visualstudio.microsoft.com/vs/older-downloads/