From 1e9cda8d2b8b8ad58c79bb3b361341e508036005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Tue, 9 Oct 2018 20:40:53 +0200 Subject: [PATCH] Improve cmake build instructions With https://github.com/OpenRCT2/OpenRCT2/pull/8054 merged, OpenRCT2 will be able to search for its data relative to the executable, which will allow for easy installation in the build directory. Improve the suggested build steps to reflect that and add some tips on building. [ci skip] --- readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 70cbbcf5f4..739ebb2363 100644 --- a/readme.md +++ b/readme.md @@ -159,8 +159,9 @@ The standard CMake build procedure is to install the [required libraries](https: ``` mkdir build cd build -cmake ../ -make +cmake ../ # set your standard cmake options, e.g. build type here +make # you can parallelise your build job with e.g. -j8 or consider using ninja +DESTDIR=. make install # the install target creates all the necessary files in places we expect them ``` Detailed instructions can be found on our [wiki](https://github.com/OpenRCT2/OpenRCT2/wiki/Building-OpenRCT2-on-Linux).