Без опису

Sasha Szpakowski a82fcdd079 Update SDL2 to version 2.28.1. 2 роки тому
.github e578fb1058 Cherry-pick GitHub Actions Windows steps from 86010b3 4 роки тому
libs a82fcdd079 Update SDL2 to version 2.28.1. 2 роки тому
src 75c1f1c923 12.x: Remove mpg123 as dependency 5 роки тому
.gitignore a5a49f9efe Add .gitignore based on .hgignore 6 роки тому
.hgignore 513e6c3114 Ignore libs/love/*. 12 роки тому
.hgtags 4418ce28e1 Added tag 11.3 for changeset ccea4bcb860c 6 роки тому
CMakeLists.txt 99b2757fc5 Always build LuaJIT amalgamated and with debug information. 2 роки тому
readme.md 3c0be088d5 Addendum to previous readme edit. 3 роки тому

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 -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.

Note, that -H had been replaced in CMake 3.13 with -S.

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 -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.