diff --git a/Building-OpenRCT2-on-Linux.md b/Building-OpenRCT2-on-Linux.md index 9dcf232..07717f1 100644 --- a/Building-OpenRCT2-on-Linux.md +++ b/Building-OpenRCT2-on-Linux.md @@ -165,6 +165,18 @@ make See the optimisation note above. +### Ninja + +You can switch from Make to Ninja, if you prefer: + +``` +mkdir build +cd build +cmake ../ -G Ninja #any other arguments you want, for example -DCMAKE_BUILD_TYPE=RelWithDebInfo +ninja #No need to specify parallel, it does that automatically +DESTDIR=. ninja install +``` + #### discord-rpc https://github.com/OpenRCT2/OpenRCT2/pull/6658 added support for discord-rpc, Discord's Rich Presence client library. It gets automatically picked up when cloned into the root of repository. Our Travis-CI jobs offer packages with discord-rpc compiled in.