From 617669820b62fc55aa4ee8227b94ced7477e7524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mq=E7=99=BD?= <3326284481@qq.com> Date: Sun, 27 Oct 2024 23:03:36 +0800 Subject: [PATCH] Modified to replace `make -j` only with `cmake --build.` --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eb797afc..f4619fd9 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,9 @@ Copy the include [folder](https://github.com/gabime/spdlog/tree/v1.x/include/spd #### Compiled version (recommended - much faster compile times) ```console -git clone https://github.com/gabime/spdlog.git -cd spdlog ; mkdir build ; cd build -cmake .. ; cmake --build . --parallel -cmake --install . +$ git clone https://github.com/gabime/spdlog.git +$ cd spdlog && mkdir build && cd build +$ cmake .. && cmake --build . ``` see example [CMakeLists.txt](https://github.com/gabime/spdlog/blob/v1.x/example/CMakeLists.txt) on how to use.