Ei kuvausta

rude 8991bc2102 Find dynamic runtime libraries for MSVC12. 12 vuotta sitten
libs 8e9ed21c15 Configure modplug on OSX. 12 vuotta sitten
src 445cee62fe Add libmodplug to main CMakeLists.txt. 12 vuotta sitten
.hgignore 513e6c3114 Ignore libs/love/*. 12 vuotta sitten
CMakeLists.txt 8991bc2102 Find dynamic runtime libraries for MSVC12. 12 vuotta sitten
readme.md 8e8fd28078 Add readme. 12 vuotta sitten

readme.md

Megasource is a CMake-buildable collection of all LÖVE 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.

Prerequisites

Building

To build just the dependecies:

$ hg clone https://bitbucket.org/rude/megasource megasource
$ cd megasource
$ cmake -G "Visual Studio 2012" -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.

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 2012" -H. -Bbuild
$ cmake --build build --target 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.