1
0
mirror of synced 2025-02-02 20:37:25 +01:00
jujube/docs/Compiling.md
2020-02-09 14:07:54 +01:00

1015 B

Compiling jujube

jujube uses the meson build system. Only time will tell if this turned out to be a wise choice, I wanted to try something other than CMake.

jujube needs a very up to date C++ compiler for I'm using stuff like std::filesystem which is, at the time of writing, easily availble only on the last few versions of your favorite compiler

Linux

Dependencies

  • SFML 2.5.1 : You will most likely need to build SFML yourself, and with the same compiler as the one you will use for jujube because if you just get precompiled binaries for SFML from your package manager you will have compatibility problems. Here's their docs.
  • meson : Installation explained here

Building

let's say you downloaded the source code in a folder called jujube and you decided to compile with gcc-9

$ cd jujube
$ CXX=gcc-9 meson build
$ cd build
$ ninja

And that's it !