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