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][]:
|
To build with [CMake][]:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mkdir -p build
|
$ cmake -B build -DBUILD_TESTING=ON # generate project with tests
|
||||||
|
|
||||||
$ (cd build && cmake .. -DBUILD_TESTING=ON) # generate project with tests
|
|
||||||
$ cmake --build build # add `-j <n>` with cmake >= 3.12
|
$ cmake --build build # add `-j <n>` with cmake >= 3.12
|
||||||
|
|
||||||
# Run tests:
|
# Run tests:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user