Bez popisu

Alex Szpakowski 13584cee64 Update SDL to version 2.0.14. před 5 roky
libs 13584cee64 Update SDL to version 2.0.14. před 5 roky
src 1dd8d44943 Remove physfs from megatest před 7 roky
.gitignore a5a49f9efe Add .gitignore based on .hgignore před 6 roky
.hgignore 513e6c3114 Ignore libs/love/*. před 12 roky
.hgtags 4418ce28e1 Added tag 11.3 for changeset ccea4bcb860c před 6 roky
CMakeLists.txt 13584cee64 Update SDL to version 2.0.14. před 5 roky
readme.md ec1ceaf373 Replace hg repository to git repository. před 5 roky

readme.md

Megasource is a CMake-buildable collection of all LÖVE dependencies.

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

Building

To build just the dependencies:

$ git clone https://github.com/love2d/megasource megasource
$ cd megasource
$ cmake -G "Visual Studio 16 2019" -A Win32 -H. -Bbuild
$ cmake --build build --target megatest --config Release

... 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, clone LÖVE into the libs folder. Megasource will automatically look for it there. E.g.:

$ git clone https://github.com/love2d/megasource megasource
$ cd megasource
$ git clone https://github.com/love2d/love libs/love
$ 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.

If you want to build the installer, replace the previous build command with:

$ cmake --build build --target PACKAGE --config Release

A zip with the binaries and the installer will appear in build.