From 194ab3962b2d2c19ad64bc7470f69eac6f854348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mq=E7=99=BD?= <3326284481@qq.com> Date: Sun, 27 Oct 2024 15:18:44 +0800 Subject: [PATCH] Simplified build command length for cross-platform compatibility. --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index eeea5a50..eb797afc 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,8 @@ 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 +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.