From de397e0b64b17b1e277b5c1f3833b2f9389dc03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mq=E7=99=BD?= <3326284481@qq.com> Date: Sun, 27 Oct 2024 14:20:15 +0800 Subject: [PATCH] Update build --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2a2cbe42..eeea5a50 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,13 @@ 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 .. && make -j +git clone https://github.com/gabime/spdlog.git +cd spdlog +mkdir build +cd build +cmake .. +cmake --build . --parallel +cmake --install . ``` see example [CMakeLists.txt](https://github.com/gabime/spdlog/blob/v1.x/example/CMakeLists.txt) on how to use.