diff --git a/README.adoc b/README.adoc index daaceb7..13c6937 100644 --- a/README.adoc +++ b/README.adoc @@ -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,