build: shorten instructions for cmake build (#4762)
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
This commit is contained in:
parent
e6c0007fae
commit
eacd6e3c45
@ -189,9 +189,7 @@ $ make install
|
||||
To build with [CMake][]:
|
||||
|
||||
```bash
|
||||
$ mkdir -p build
|
||||
|
||||
$ (cd build && cmake .. -DBUILD_TESTING=ON) # generate project with tests
|
||||
$ cmake -B build -DBUILD_TESTING=ON # generate project with tests
|
||||
$ cmake --build build # add `-j <n>` with cmake >= 3.12
|
||||
|
||||
# Run tests:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user