Davidobot / megasource

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

$ hg clone https://bitbucket.org/rude/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.:

$ hg clone https://bitbucket.org/rude/megasource megasource
$ cd megasource
$ hg clone https://bitbucket.org/rude/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.

About

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


Languages

Language:C 65.9%Language:C++ 10.0%Language:HTML 6.7%Language:Shell 4.6%Language:Makefile 2.8%Language:Objective-C 2.1%Language:TeX 1.7%Language:Assembly 1.3%Language:Lua 1.1%Language:M4 1.0%Language:CMake 0.7%Language:Python 0.4%Language:Java 0.4%Language:Pascal 0.2%Language:Ada 0.2%Language:C# 0.2%Language:Perl 0.2%Language:DIGITAL Command Language 0.1%Language:Roff 0.1%Language:CSS 0.1%Language:Batchfile 0.1%Language:JavaScript 0.0%Language:PowerShell 0.0%Language:Awk 0.0%Language:Metal 0.0%Language:SAS 0.0%Language:Module Management System 0.0%Language:sed 0.0%