From 5deb31e4ff70d3a984368a47d9913cd88ecfa22c Mon Sep 17 00:00:00 2001 From: Krutonium <3945538+Krutonium@users.noreply.github.com> Date: Thu, 3 Oct 2019 03:59:37 -0400 Subject: [PATCH] Updated Building OpenRCT2 on Linux (markdown) --- Building-OpenRCT2-on-Linux.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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.