Giter VIP home page Giter VIP logo

mcbuild's Introduction

this is a meson-based build system for McOsu and McEngine-based projects for linux.

  • lets you link against system libraries instead of vendored ones
  • heavily parallel compilation, faster than eclipse
  • less stuff compiled since we are using system libraries
  • can relocate the data directory for a linux-style split install in /usr/share and /usr/bin

I am not gonna try to upstream this for now as it's for linux only and it adds a bunch of ifdefs to fix headers

preparing your dev environment

install meson with your distro's package manager. or install python and do python -m pip install --user meson. you also need git

install the following libraries

curl -Ss https://raw.githubusercontent.com/Francesco149/McBuild/master/prepare.sh | sh

this will prepare and put you in a build directory

now you can edit build.sh to change the meson invocation with the options you want

example of relocating everything to ~/McOsu

meson --prefix="$HOME/McOsu"

example of building with discord-rpc support

meson -Dfeatures=multithreading,pthreads,opengl,sound,discord  ..

when you are ready, run ./build.sh

to install everything to your prefix, run ./install.sh

mcbuild's People

Contributors

kiwec avatar francesco149 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.