Giter Club home page Giter Club logo

megasource-web's Introduction

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.

Versions

This repository uses git tags for the library dependencies of a specific released version of LÖVE.

For in-development versions of LÖVE, there may be a branch in this repository corresponding to a similar branch in the love repository.

Prerequisites

Building

To build just the dependencies for 64 bit x86 using Visual Studio 2019:

$ git clone https://github.com/love2d/megasource megasource
$ cd megasource
$ cmake -G "Visual Studio 16 2019" -A x64 -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.

To build for a different version of Visual Studio (or a different build tool), replace "Visual Studio 16 2019" with one of the other build system generators. For example Visual Studio 2022 is "Visual Studio 17 2022".

Similarly, to build for a different architecture than 64 bit x86, use a different architecture name for the -A parameter.

Note that -H has 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 -G "Visual Studio 16 2019" -A x64 -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.

megasource-web's People

Contributors

slime73 avatar mikuauahdark avatar entrancejew avatar tannerrogalsky avatar rozenmad avatar 4aiman avatar lpghatguy avatar nikeinikei avatar andruud avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.