Skip to content

Commit

Permalink
Reference the -B flag in CMake build instructions
Browse files Browse the repository at this point in the history
This avoids the mkdir/cd dance.
  • Loading branch information
axelf4 committed Apr 13, 2024
1 parent 1b54d7a commit ff9d8c0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ To compile, make sure GCC, CMake and GNU Make or similar are present,
and run

```sh
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-march=native .. &&
cmake --build .
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-march=native . &&
cmake --build build
```

and place the resulting shared library somewhere in `load-path`.
Expand Down

0 comments on commit ff9d8c0

Please sign in to comment.