From ff9d8c047d3911ea3f29677bb61e36b49bccd4db Mon Sep 17 00:00:00 2001 From: Axel Forsman Date: Sat, 13 Apr 2024 12:08:42 +0200 Subject: [PATCH] Reference the -B flag in CMake build instructions This avoids the mkdir/cd dance. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bb7be2d..aab8a81 100644 --- a/README.md +++ b/README.md @@ -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`.