Update build instructions.

This commit is contained in:
tastytea 2021-05-31 10:54:27 +02:00
parent 76ed0c9dbf
commit ea2fbc8dd7
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 5 deletions

View File

@ -122,13 +122,12 @@ and then:
[source,shell]
--------------------------------------------------------------------------------
mkdir -p build && cd build
cmake ..
cmake --build . -- --jobs=$(nproc --ignore=1)
cmake -S . -B build
cmake --build build --parallel $(nproc --ignore=1)
--------------------------------------------------------------------------------
To install, run `sudo make install`. To run the tests, run `cd tests &&
ctest`.
To install, run `sudo cmake --install build`. To run the tests, run `cd
build/tests && ctest`.
[TIP]
If you are using Debian or Ubuntu, or a distribution that is derived from these,