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]
This commit is contained in:
Michał Janiszewski 2018-10-09 20:40:53 +02:00 committed by GitHub
parent 1334b745dc
commit 1e9cda8d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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).